Skip to content

Instantly share code, notes, and snippets.

View mdelgadov's full-sized avatar

Miguel Delgado mdelgadov

  • Vertical Viral
  • Staten Island, New York
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