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.
Project requires Visual Studio 2015 and TypeScript 2.1. Use the following steps to build and run -
- npm install
- nuget restore
- F5
POC of the angular-ui-mask library that can be found at https://github.com/angular-ui/ui-mask
Standard Angular form validation as perscribed in the angular docs https://docs.angularjs.org/guide/forms
Basic validation using a custom directive.
Advanced custom directive validation by watching an directive attribute.
Validation using a custom directive and async web service call.