generator-angular2-with-router
Version:
A simple angular2 application having 3 pages with angular2 in build router to navigate between pages. It have all basic functionality which a standard angualr2 application needed.
15 lines (11 loc) • 357 B
text/typescript
import {Component} from '@angular/core';
import {HomeService} from "../home/home.service";
import {appConstants} from "../../services/app.constants";
({
selector: 'message',
templateUrl: 'app/components/message/message.component.html',
})
export class MessageComponent {
constructor(public homeService: HomeService) {
}
}