4,500
edits
add TypeScript advantages using TypeScript |
add more basic descriptions at the end of the document |
||
Line 313: | Line 313: | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
@Component is called a ''decorator'', which adds metadata to the class that follows it. | |||
Using the {{ ... }} syntax is called ''template binding''. |