File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
templates/Angular2Spa/ClientApp/app/components Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
import { Component } from '@angular/core' ;
2
2
3
3
@Component ( {
4
- selector : 'counter' ,
5
- template : require ( './counter.component.html' )
4
+ selector : 'counter' ,
5
+ template : require ( './counter.component.html' )
6
6
} )
7
7
export class CounterComponent {
8
8
public currentCount = 0 ;
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ import { Component } from '@angular/core';
2
2
import { Http } from '@angular/http' ;
3
3
4
4
@Component ( {
5
- selector : 'fetchdata' ,
6
- template : require ( './fetchdata.component.html' )
5
+ selector : 'fetchdata' ,
6
+ template : require ( './fetchdata.component.html' )
7
7
} )
8
8
export class FetchDataComponent {
9
9
public forecasts : WeatherForecast [ ] ;
Original file line number Diff line number Diff line change 1
1
import { Component } from '@angular/core' ;
2
2
3
3
@Component ( {
4
- selector : 'home' ,
5
- template : require ( './home.component.html' )
4
+ selector : 'home' ,
5
+ template : require ( './home.component.html' )
6
6
} )
7
7
export class HomeComponent {
8
8
}
Original file line number Diff line number Diff line change 1
1
import { Component } from '@angular/core' ;
2
2
3
3
@Component ( {
4
- selector : 'nav-menu' ,
5
- template : require ( './navmenu.component.html' )
4
+ selector : 'nav-menu' ,
5
+ template : require ( './navmenu.component.html' )
6
6
} )
7
7
export class NavMenuComponent {
8
8
}
You can’t perform that action at this time.
0 commit comments