June 2014
Intermediate to advanced
696 pages
38h 52m
English
AngularJS templates are fairly straightforward and yet very powerful and easy to extend. Templates are based on standard HTML documents but extend the HTML functionality with three additional components:
Expressions: Expressions are bits of JavaScript-like code that are evaluated within the context of a scope. Expressions are denoted by {{}} brackets. The results of an expression are added to a compiled HTML webpage. Expressions can be placed in normal HTML text or in the values of attributes, as shown here:
<p>{{1+2}}</p>href="/myPage.html/{{hash}}"
Filters: Filters transform the appearance of data that is placed on ...
Read now
Unlock full access