July 2017
Intermediate to advanced
454 pages
10h 1m
English
As mentioned before, attributes are properties of the elements in the page. Some of the examples of the attributes for HTML elements are class, style, and so on.
Similarly Angular provides several built-in Attribute Directives. The directives include ngModel, ngClass, ngStyle, and so on.
Let's learn about each of these Attribute Directives by creating few examples that are shown as follows for your reference:
The ngModel directive is written inside a square with the parentheses of event binding [()].
Read now
Unlock full access