Add Angular2
This commit is contained in:
12
src/main-app.component.ts
Normal file
12
src/main-app.component.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Component, OnInit } from 'angular2/core';
|
||||
|
||||
@Component({
|
||||
selector: 'main-app',
|
||||
template: 'It works!'
|
||||
})
|
||||
export class MainAppComponent implements OnInit {
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() { }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user