|
@ -1,10 +1,10 @@ |
|
|
import { Component, VERSION } from '@angular/core'; |
|
|
|
|
|
|
|
|
import { Component } from '@angular/core'; |
|
|
|
|
|
|
|
|
@Component({ |
|
|
@Component({ |
|
|
selector: 'my-app', |
|
|
selector: 'my-app', |
|
|
templateUrl: './app.component.html', |
|
|
templateUrl: './app.component.html', |
|
|
styleUrls: [ './app.component.css' ] |
|
|
|
|
|
|
|
|
styleUrls: ['./app.component.css'], |
|
|
}) |
|
|
}) |
|
|
export class AppComponent { |
|
|
|
|
|
pi = 3.1415926; |
|
|
|
|
|
|
|
|
export class AppComponent { |
|
|
|
|
|
now = new Date(); |
|
|
} |
|
|
} |