Thursday, December 19, 2019

How to apply multiple template bindings on one element in angular

Can't use two template binding on one element in Angular 2 (like *ngIf and *ngFor). 
you need to create ng element over your code (td , li)

<ng-container *ngIf="condition">
    <li *ngFor="let item of items">


Monday, December 16, 2019

Change Selector prefix with Angular CLI


Use this cmd line for changing default prefix app to your company name  or tag

 ng new my-app --prefix compantName