Skip to content

Commit 8ca9e9c

Browse files
committed
Add angular specific information for the template view
1 parent b216228 commit 8ca9e9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,8 @@ For example if we evaluate the template above in the context of the following ob
714714
<strong>baz</strong>
715715
```
716716

717+
AngularJS templates are actually HTML, they are not in an intermediate format like the traditional templates are.
718+
What AngularJS compiler does is to traverse the DOM tree and look for already known directives (elements, attributes, classes or even comments). When AngularJS finds any of these directives it invokes the logic associated with them, which may involve evaluation of different expressions in the context of the current scope.
717719

718720
## AngularJS application Patterns
719721

0 commit comments

Comments
 (0)