refactor(playground): remove imports from 'angular2/angular2'

Part of #5710

Closes #5798
This commit is contained in:
Pawel Kozlowski
2015-12-10 16:24:34 +01:00
parent df6d2d1e23
commit 8d3e5596dc
11 changed files with 28 additions and 31 deletions

View File

@ -1,8 +1,7 @@
import {Component, View, NgIf} from 'angular2/angular2';
import {Component} from 'angular2/core';
@Component({selector: 'animate-app'})
@View({
directives: [NgIf],
@Component({
selector: 'animate-app',
template: `
<h1>The box is {{visible ? 'visible' : 'hidden'}}</h1>
<div class="ng-animate box" *ngIf="visible"></div>