Browsed by
Tag: Angular

Manually triggering *ngFor at Angular

Manually triggering *ngFor at Angular

Concerning *ngFor and *ngForOf, there are three instances where the template is updated, these are: When an item is added, a new instance of the template is added to the DOM. When an item is removed, its template instance is removed from the DOM. When items are reordered, their respective templates are reordered in the DOM. But what if you’re only changing a property of an object within the array *ngFor uses? As per above rules, this is not detected…

Read More Read More

Short explanation of NgModule

Short explanation of NgModule

You started working with Angular a short time ago. You created your fist components or services. Then, inevitably, you saw weird messages at your browser console that looks confusing with long stack traces. Like every other sane person, you go to the official documents. the trouble with the official documents for Angular though is they are written in a deep level. You can and will find yourself looking through page after page of deep explanations, while you only need some…

Read More Read More