Angular 2: Difference between revisions

Jump to navigation Jump to search
update interaction block
add interaction
update interaction block
Line 91: Line 91:
</syntaxhighlight>
</syntaxhighlight>


adding interaction
adding interaction.


<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
Line 134: Line 134:
bootstrap(TrainerApp);
bootstrap(TrainerApp);
</syntaxhighlight>
</syntaxhighlight>
<code><input name="title" #newtitle></code>
Tells Angular to ''bind'' this <input> to the variable '''newtitle'''. '''#newtitle''' syntax is called a ''resolve''.

Navigation menu