docs(core): replace angular2/angular2 with the right barrel import.

Related to #5710
Closes #5847
This commit is contained in:
Tobias Bosch
2015-12-11 15:01:37 -08:00
parent 200dc00dbb
commit b1b0593ddf
28 changed files with 60 additions and 46 deletions
+2 -1
View File
@@ -34,7 +34,8 @@ export class NgZoneError {
*
* ### Example ([live demo](http://plnkr.co/edit/lY9m8HLy7z06vDoUaSN2?p=preview))
* ```
* import {Component, View, NgIf, NgZone} from 'angular2/angular2';
* import {Component, View, NgZone} from 'angular2/core';
* import {NgIf} from 'angular2/common';
*
* @Component({
* selector: 'ng-zone-demo'.