refactor(playground): remove imports from 'angular2/angular2'
Part of #5710 Closes #5798
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user