I am writing an Angular application and I have an HTML response I want to display.
How do I do that? If I simply use the binding syntax {{myVal}} it en
In Angular 2 you can do 3 types of bindings:
[property]="expression" -> Any html property can link to an(event)="expression" -> When event activates execute expression.[(ngModel)]="property" -> Binds the property from js (or ts) to html. Any update on this property will be noticeable everywhere.An expression can be a value, an attribute or a method. For example: '4', 'controller.var', 'getValue()'
Example here