We have touched on the templates of Angular in the previous chapters, and in this article we will cover the syntax use of Angular in detail.

The template plays the role of a view, which is simply the part that is shown to the user.

  • HTML

  • Interpolation expression

  • Template expression

  • Template statement

  • Binding syntax

  • Property binding

  • HTML attribute, class and style binding

  • Event binding

  • Use NgModel perform two-way data binding

  • Built-in instruction

  • \ * and