Using ngIf

template:`
   <h1>{{ title }} ({{title.length}})</h1>
   <input [(ngModel)]="title">
   <h2 *ngIf="title.length>15"> the title is long!!!</h2>
`
}) 

Commit info on GitHub


Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com