diff --git a/public/docs/dart/latest/guide/displaying-data.jade b/public/docs/dart/latest/guide/displaying-data.jade index 3249bfe41b..0d19f44997 100644 --- a/public/docs/dart/latest/guide/displaying-data.jade +++ b/public/docs/dart/latest/guide/displaying-data.jade @@ -48,7 +48,7 @@ description: Dart version of Angular 2 example, Displaying Data version: 0.0.1 dependencies: - angular2: 2.0.0-alpha.28 + angular2: 2.0.0-alpha.29 browser: ^0.10.0 transformers: - angular2: @@ -262,11 +262,12 @@ p. Next, make FriendsService available to dependency injection - by adding an appInjector parameter to DisplayComponent's + by adding a viewInjector parameter to DisplayComponent's @Component annotation: + code-example(language="dart"). - @Component(selector: 'display', appInjector: const [FriendsService]) + @Component(selector: 'display', viewInjector: const [FriendsService]) .l-main-section h2#Conditionally-displaying-data-with-NgIf Conditionally display data using *ng-if @@ -300,7 +301,7 @@ import 'package:angular2/angular2.dart'; import 'package:displaying_data/friends_service.dart'; - @Component(selector: 'display', appInjector: const [FriendsService]) + @Component(selector: 'display', viewInjector: const [FriendsService]) @View(template: ''' <p>My name: {{ myName }}</p> <p>Friends:</p> @@ -359,7 +360,7 @@ description: Displaying Data example version: 0.0.1 dependencies: - angular2: 2.0.0-alpha.28 + angular2: 2.0.0-alpha.29 browser: ^0.10.0 transformers: - angular2: diff --git a/public/docs/dart/latest/guide/setup.jade b/public/docs/dart/latest/guide/setup.jade index bb5d91003c..a851fc9d51 100644 --- a/public/docs/dart/latest/guide/setup.jade +++ b/public/docs/dart/latest/guide/setup.jade @@ -30,7 +30,7 @@ description: Getting Started example version: 0.0.1 dependencies: - angular2: 2.0.0-alpha.28 + angular2: 2.0.0-alpha.29 browser: ^0.10.0 transformers: - angular2: diff --git a/public/docs/dart/latest/guide/user-input.jade b/public/docs/dart/latest/guide/user-input.jade index b3e35f443d..4fda6633fb 100644 --- a/public/docs/dart/latest/guide/user-input.jade +++ b/public/docs/dart/latest/guide/user-input.jade @@ -197,7 +197,7 @@ description: User Input example version: 0.0.1 dependencies: - angular2: 2.0.0-alpha.28 + angular2: 2.0.0-alpha.29 browser: ^0.10.0 transformers: - angular2: diff --git a/public/docs/dart/latest/quickstart.jade b/public/docs/dart/latest/quickstart.jade index 93800b3e53..dfd7208597 100644 --- a/public/docs/dart/latest/quickstart.jade +++ b/public/docs/dart/latest/quickstart.jade @@ -38,13 +38,13 @@ p. specify the angular2 and browser packages as dependencies, as well as the angular2 transformer. Angular 2 is changing rapidly, so provide an exact version: - 2.0.0-alpha.28. + 2.0.0-alpha.29. code-example(language="yaml" format="linenums"). name: hello_world version: 0.0.1 dependencies: - angular2: 2.0.0-alpha.28 + angular2: 2.0.0-alpha.29 browser: ^0.10.0 transformers: - angular2: @@ -252,9 +252,9 @@ p. [Info from Dart2JS]: Compiling hello_world|web/main.dart... [Info from Dart2JS]: - Took 0:00:17.408082 to compile hello_world|web/main.dart. - Built 65 files to "build". - //- REGENERATE THIS OUTPUT - or delete it? - when updating from 2.0.0-alpha.28 + Took 0:00:16.908569 to compile hello_world|web/main.dart. + Built 75 files to "build". + //- REGENERATE THIS OUTPUT - or delete it? - when updating from 2.0.0-alpha.29 p. The generated JavaScript appears, along with supporting files, @@ -273,7 +273,7 @@ p. name: hello_world version: 0.0.1 dependencies: - angular2: 2.0.0-alpha.28 + angular2: 2.0.0-alpha.29 browser: ^0.10.0 transformers: - angular2: