Angular 2: Difference between revisions

add directives
add more basic descriptions at the end of the document
add directives
Line 317: Line 317:


Using the {{ ... }} syntax is called ''template binding''.
Using the {{ ... }} syntax is called ''template binding''.
''directives'' specifies other components we want to be able to use in this view. The option takes an array of classes.
<nowiki>[squareBrackets]</nowiki> pass inputs and (parenthesis) handle outputs.