Remove explicit imports for NgIf/NgFor/NgClass, as that's no longer needed

This commit is contained in:
SteveSandersonMS
2016-01-26 11:20:57 +00:00
parent ea4c668a63
commit 5e5b12dc54
10 changed files with 12 additions and 23 deletions

View File

@@ -1,6 +1,5 @@
import * as ng from 'angular2/core';
import { Http } from 'angular2/http';
import { NgFor } from 'angular2/common';
import { AlbumTile } from '../album-tile/album-tile';
import * as models from '../../../models/models';
@@ -9,7 +8,7 @@ import * as models from '../../../models/models';
})
@ng.View({
templateUrl: './ng-app/components/public/home/home.html',
directives: [NgFor, AlbumTile]
directives: [AlbumTile]
})
export class Home {
public mostPopular: models.Album[];