Saved Bookmarks
| 1. |
Explain the purpose of interpolation in AngularJS? |
|
Answer» INTERPOLATION refers to the PHENOMENON of binding data by embedding expressions to the attribute and TEXT nodes. The compiler does the task of matching the text and the attributes during the compilation. Internally, AngularJS uses $interpolate built-in service to check if there is any markup having EMBEDDED expressions and if found then they are updated and registered in the form of watches. |
|