Matteo Scandolo | d819c92 | 2016-12-02 14:06:14 -0800 | [diff] [blame^] | 1 | import {Component} from '@angular/core'; |
2 | |||||
3 | @Component({ | ||||
4 | selector: 'fountain-app', | ||||
5 | template: require('./hello.html') | ||||
6 | }) | ||||
7 | export class HelloComponent { | ||||
8 | public hello: string; | ||||
9 | |||||
10 | constructor() { | ||||
11 | this.hello = 'Hello World!'; | ||||
12 | } | ||||
13 | } |