dnet45/modules/uoa-repository-dashboard-gui/trunk/src/app/app.component.ts @ 46812
1 |
import { Component } from '@angular/core'; |
---|---|
2 |
|
3 |
import { ApiService } from './shared'; |
4 |
|
5 |
import '../style/app.scss'; |
6 |
|
7 |
@Component({ |
8 |
selector: 'my-app', // <my-app></my-app> |
9 |
templateUrl: './app.component.html', |
10 |
styleUrls: ['./app.component.scss'], |
11 |
})
|
12 |
export class AppComponent { |
13 |
url = 'https://github.com/preboot/angular2-webpack'; |
14 |
title: string; |
15 |
|
16 |
constructor(private api: ApiService) { |
17 |
this.title = this.api.title; |
18 |
}
|
19 |
}
|