1

I do not want to re-invite the wheel of Angular or Polymer, but want to understand how the the data binding happen and how the html file use double curly braces {{ ... }} to contain Angular expressions.

How the below code is understood and executed!

Name: <input type="text" ng-model="name">
<h3>Hello {{name}}!</h3>

1 Answer 1

1

In Polymer this is done by polymer_expressions package https://pub.dartlang.org/packages/polymer_expressions. In Angular.dart this is done by Angular code during HTML 'compiling'.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.