Skip to content

Instantly share code, notes, and snippets.

View mbhnyc's full-sized avatar

Matthew Hensrud mbhnyc

  • New York, NY
  • 02:36 (UTC -04:00)
  • X @mbhnyc
View GitHub Profile
@aberke
aberke / gist:042eef0f37dba1138f9e
Last active June 20, 2020 05:17
AngularJS module for phonenumber inputs - Includes custom directive that formats telephone number input values as well as filter for format them in text.
/***************************************************
----------------------------------------------------
Author: Alexandra Berke (aberke)
Written: Summer 2014
----------------------------------------------------
Formats the phonenumber as (222) 333-4444 within the input element
Binds only the number 2223334444 to the model