/AngularValidation

Exploring angular forms validation

Primary LanguageJavaScript

Angular 1.x Form Validation

Exploring Angular 1.x validation using a .Net 4.5 backend. Repo contains examples of the angular-ui-mask library, standard angular form validation and custom Angular directive validation.


Build and Run

Project requires Visual Studio 2015 and TypeScript 2.1. Use the following steps to build and run -

  1. npm install
  2. nuget restore
  3. F5

Angular-UI-Mask

POC of the angular-ui-mask library that can be found at https://github.com/angular-ui/ui-mask


Standard Form Validation

Standard Angular form validation as perscribed in the angular docs https://docs.angularjs.org/guide/forms


Basic Directive Validation

Basic validation using a custom directive.


Advanced Directive Validation

Advanced custom directive validation by watching an directive attribute.


Async Directive Validation

Validation using a custom directive and async web service call.