Angular 2 provides a number of built-in components. Such as NgIf, NgFor, NgStyle, NgNonBindable.... Some of the components were used with an '*', such as *ngIf and *ngFor:
<div *ngFor="item of items">
{{item}}
</div>
Some of them were used with '[]', such as [ngStyle] and [ngClass]: (Component inputs?)
<div [ngStyle]="{'background-color': 'yellow'}">Content</div>
And some were used like 'Angular-1': for example:
<div ngNonBindable>
Angular code snippet: {{content}}
</div>
Does anyone here know why? and what's the differences? How do I remember the way to use them correctly?