diff --git a/public/docs/dart/latest/quickstart.jade b/public/docs/dart/latest/quickstart.jade index 6087fbcbbc..05cb1f41f9 100644 --- a/public/docs/dart/latest/quickstart.jade +++ b/public/docs/dart/latest/quickstart.jade @@ -108,7 +108,7 @@ p. has the tag <my-app>. The Dart code for an Angular component consists of a class (the component controller) - that has @Component and @Template annotations. + that has @Component and @View annotations. .l-sub-section @@ -119,10 +119,10 @@ p. the HTML tag for the component by specifying the component's CSS selector. p. - The @Template annotation defines the HTML that + The @View annotation defines the HTML that represents the component. This component uses an inline template, but you can also have an external template. To use an external template, - specify a url property + specify a templateUrl property and give it the path to the HTML file. pre.prettyprint @@ -130,8 +130,8 @@ p. @Component( selector: 'my-app' ) - @Template( - inline: '<h1>Hello {{ name }}</h1>' + @View( + template: '<h1>Hello {{ name }}</h1>' ) // [PENDING: add line numbers once we can specify where they start] diff --git a/public/index.jade b/public/index.jade index e4a8541bcd..8a7653dd80 100644 --- a/public/index.jade +++ b/public/index.jade @@ -14,7 +14,7 @@ pre.prettyprint.linenums.is-showcase code. @Component({selector: 'my-app'}) - @Template({inline: '<h1>Hi {{ name }}</h1>'}) + @View({template: '<h1>Hi {{ name }}</h1>'}) // Component controller class MyAppComponent {