Directives/providers array for components in alphabetical order
This commit is contained in:
parent
9bfe96e19f
commit
f0a397ee3d
|
@ -45,7 +45,7 @@ import {
|
||||||
templateUrl: 'client/app/app.component.html',
|
templateUrl: 'client/app/app.component.html',
|
||||||
styleUrls: [ 'client/app/app.component.css' ],
|
styleUrls: [ 'client/app/app.component.css' ],
|
||||||
directives: [ ROUTER_DIRECTIVES, SearchComponent ],
|
directives: [ ROUTER_DIRECTIVES, SearchComponent ],
|
||||||
providers: [ ROUTER_PROVIDERS, HTTP_PROVIDERS, VideoService, FriendService, AuthService ]
|
providers: [ AuthService, FriendService, HTTP_PROVIDERS, ROUTER_PROVIDERS, VideoService ]
|
||||||
})
|
})
|
||||||
|
|
||||||
export class AppComponent {
|
export class AppComponent {
|
||||||
|
|
|
@ -19,7 +19,7 @@ import { VideoSortComponent } from './video-sort.component';
|
||||||
selector: 'my-videos-list',
|
selector: 'my-videos-list',
|
||||||
styleUrls: [ 'client/app/videos/video-list/video-list.component.css' ],
|
styleUrls: [ 'client/app/videos/video-list/video-list.component.css' ],
|
||||||
templateUrl: 'client/app/videos/video-list/video-list.component.html',
|
templateUrl: 'client/app/videos/video-list/video-list.component.html',
|
||||||
directives: [ ROUTER_DIRECTIVES, PAGINATION_DIRECTIVES, VideoMiniatureComponent, VideoSortComponent, LoaderComponent ]
|
directives: [ LoaderComponent, PAGINATION_DIRECTIVES, ROUTER_DIRECTIVES, VideoMiniatureComponent, VideoSortComponent ]
|
||||||
})
|
})
|
||||||
|
|
||||||
export class VideoListComponent implements OnInit {
|
export class VideoListComponent implements OnInit {
|
||||||
|
|
|
@ -4,7 +4,6 @@ import { SortField } from '../shared/index';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'my-video-sort',
|
selector: 'my-video-sort',
|
||||||
// styleUrls: [ 'app/angular/videos/components/list/video-sort.component.css' ],
|
|
||||||
templateUrl: 'client/app/videos/video-list/video-sort.component.html'
|
templateUrl: 'client/app/videos/video-list/video-sort.component.html'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue