Directives/providers array for components in alphabetical order

pull/10/head
Chocobozzz 2016-05-27 17:55:57 +02:00
parent 9bfe96e19f
commit f0a397ee3d
3 changed files with 2 additions and 3 deletions

View File

@ -45,7 +45,7 @@ import {
templateUrl: 'client/app/app.component.html',
styleUrls: [ 'client/app/app.component.css' ],
directives: [ ROUTER_DIRECTIVES, SearchComponent ],
providers: [ ROUTER_PROVIDERS, HTTP_PROVIDERS, VideoService, FriendService, AuthService ]
providers: [ AuthService, FriendService, HTTP_PROVIDERS, ROUTER_PROVIDERS, VideoService ]
})
export class AppComponent {

View File

@ -19,7 +19,7 @@ import { VideoSortComponent } from './video-sort.component';
selector: 'my-videos-list',
styleUrls: [ 'client/app/videos/video-list/video-list.component.css' ],
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 {

View File

@ -4,7 +4,6 @@ import { SortField } from '../shared/index';
@Component({
selector: 'my-video-sort',
// styleUrls: [ 'app/angular/videos/components/list/video-sort.component.css' ],
templateUrl: 'client/app/videos/video-list/video-sort.component.html'
})