A project to illustrate both custom directives and custom validators
The purpose of this project is to illustrate both custom directives and custom validators in Angular
The current version supported is Angular 7.1.
It creates a simple application that:
NumbersOnlyDirective
which allows only numbers to be typed, pasted, and dragged to the input controlNumbersValidator.isPrimeNumber()
as a validator in the Form Group.You can contact me at nickhodges@gmail.com or on http://www.anglesandtypes.io