Answer the question
In order to leave comments, you need to log in
How is AngularJS organized?
Welcome all!
Please explain the logic of the script/action.
How does the browser understand what is needed here:
render HTML/CSS?
How are these curly braces {{}} arranged?
I will be very grateful
Answer the question
In order to leave comments, you need to log in
Angular takes HTML and parses it (not with regulars, because parsing HTML with regulars is not very convenient). An entry like {{var}} is nothing more than a shorthand notation for the ng-bind directive:
<div>Hello, {{name}}</div>
<!-- Эквивалентно -->
<div> Hello, <span ng-bind="name"></span></div>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question