I\'m new to angular
in general and to angular2
specifically. I\'m trying to write a container component, which should have child components in it.
In the latest angular you can even avoid adding
I've applied is like:
import {Component} from '@angular/core';
@Component({
selector: 'div[app-root]',
templateUrl: 'app.component.html',
styleUrls: ['app.component.css']
})
export class AppComponent {
title = 'Delegates Presence Reporting';
}
and the template:
{{title}}
index.html