angularjs phone number format directive

 

 

 

 

span ng-show"form.phone.dirty form.phone.error.pattern">.Specifying this directive will make AngularJs to call your controller that you provide in either