diff --git a/public/docs/dart/latest/guide/displaying-data.jade b/public/docs/dart/latest/guide/displaying-data.jade
index ae014593f8..661ddbfb89 100644
--- a/public/docs/dart/latest/guide/displaying-data.jade
+++ b/public/docs/dart/latest/guide/displaying-data.jade
@@ -42,7 +42,7 @@
description: Dart version of Angular 2 example, Displaying Data
version: 0.0.1
dependencies:
- angular2: 2.0.0-alpha.45
+ angular2: 2.0.0-alpha.47
browser: ^0.10.0
transformers:
- angular2:
@@ -262,11 +262,11 @@
p.
Next, make FriendsService available to dependency injection
- by adding a viewBindings
parameter to DisplayComponent's
+ by adding a viewProviders
parameter to DisplayComponent's
@Component
annotation:
code-example(language="dart").
- @Component(selector: 'display', viewBindings: const [FriendsService])
+ @Component(selector: 'display', viewProviders: const [FriendsService])
.l-main-section
h2#Conditionally-displaying-data-with-NgIf Conditionally display data using *ng-if
@@ -300,7 +300,7 @@
import 'package:angular2/angular2.dart';
import 'package:displaying_data/friends_service.dart';
- @Component(selector: 'display', viewBindings: const [FriendsService])
+ @Component(selector: 'display', viewProviders: const [FriendsService])
@View(template: '''
<p>My name: {{ myName }}</p>
<p>Friends:</p>
@@ -353,7 +353,7 @@
description: Displaying Data example
version: 0.0.1
dependencies:
- angular2: 2.0.0-alpha.45
+ angular2: 2.0.0-alpha.47
browser: ^0.10.0
transformers:
- angular2: