Angular templates and recompute

@Component({
    template:`
-<h1>Orders </h1>
  <h1>{{ title }} ({{title.length}})</h1>
  <input [(ngModel)]="title">
`
})
  
@Injectable()
export class AppComponent {
     title = 'the title';
}
const apiUrl = '/dataApi/'; 

Commit info on GitHub


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