@@ -183,9 +181,7 @@ export const HTTP_BINDINGS = HTTP_PROVIDERS;
*
* @Component({
* selector: 'app',
- * providers: [JSONP_PROVIDERS]
- * })
- * @View({
+ * providers: [JSONP_PROVIDERS],
* template: `
*
*
People
diff --git a/modules/angular2/router.ts b/modules/angular2/router.ts
index 967a785f93..17dc9c8ad4 100644
--- a/modules/angular2/router.ts
+++ b/modules/angular2/router.ts
@@ -41,15 +41,14 @@ import {BaseException} from 'angular2/src/core/facade/exceptions';
* ## Example ([live demo](http://plnkr.co/edit/iRUP8B5OUbxCWQ3AcIDm))
*
* ```
- * import {Component, View} from 'angular2/angular2';
+ * import {Component} from 'angular2/angular2';
* import {
* ROUTER_DIRECTIVES,
* ROUTER_PROVIDERS,
* RouteConfig
* } from 'angular2/router';
*
- * @Component({...})
- * @View({directives: [ROUTER_DIRECTIVES]})
+ * @Component({directives: [ROUTER_DIRECTIVES]})
* @RouteConfig([
* {...},
* ])
@@ -71,11 +70,10 @@ export const ROUTER_PRIMARY_COMPONENT: OpaqueToken =
* ## Example ([live demo](http://plnkr.co/edit/iRUP8B5OUbxCWQ3AcIDm))
*
* ```
- * import {Component, View} from 'angular2/angular2';
+ * import {Component} from 'angular2/angular2';
* import {ROUTER_DIRECTIVES, ROUTER_PROVIDERS, RouteConfig} from 'angular2/router';
*
- * @Component({...})
- * @View({directives: [ROUTER_DIRECTIVES]})
+ * @Component({directives: [ROUTER_DIRECTIVES]})
* @RouteConfig([
* {...},
* ])
@@ -94,15 +92,14 @@ export const ROUTER_DIRECTIVES: any[] = CONST_EXPR([RouterOutlet, RouterLink]);
* ## Example ([live demo](http://plnkr.co/edit/iRUP8B5OUbxCWQ3AcIDm))
*
* ```
- * import {Component, View} from 'angular2/angular2';
+ * import {Component} from 'angular2/angular2';
* import {
* ROUTER_DIRECTIVES,
* ROUTER_PROVIDERS,
* RouteConfig
* } from 'angular2/router';
*
- * @Component({...})
- * @View({directives: [ROUTER_DIRECTIVES]})
+ * @Component({directives: [ROUTER_DIRECTIVES]})
* @RouteConfig([
* {...},
* ])
diff --git a/modules/angular2/src/core/application_common.ts b/modules/angular2/src/core/application_common.ts
index 9e5aa6a4b7..fd0e2924eb 100644
--- a/modules/angular2/src/core/application_common.ts
+++ b/modules/angular2/src/core/application_common.ts
@@ -138,9 +138,7 @@ export function platform(bindings?: Array
): PlatformRef
*
* ```
* @Component({
- * selector: 'my-app'
- * })
- * @View({
+ * selector: 'my-app',
* template: 'Hello {{ name }}!'
* })
* class MyApp {
diff --git a/modules/angular2/src/core/application_tokens.ts b/modules/angular2/src/core/application_tokens.ts
index e8cc58a5a7..1021f60be2 100644
--- a/modules/angular2/src/core/application_tokens.ts
+++ b/modules/angular2/src/core/application_tokens.ts
@@ -12,7 +12,6 @@ export const APP_COMPONENT_REF_PROMISE = CONST_EXPR(new OpaqueToken('Promise
* `,
@@ -69,8 +70,8 @@ export abstract class ChangeDetectorRef {
* }
* }
*
- * @Component({selector: 'giant-list'})
- * @View({
+ * @Component({
+ * selector: 'giant-list',
* template: `
* Data {{d}}
* `,
@@ -86,9 +87,8 @@ export abstract class ChangeDetectorRef {
* }
*
* @Component({
- * selector: 'app', providers: [DataProvider]
- * })
- * @View({
+ * selector: 'app',
+ * providers: [DataProvider],
* template: `
*
* `,
@@ -151,8 +151,9 @@ export abstract class ChangeDetectorRef {
* }
* }
*
- * @Component({selector: 'live-data', inputs: ['live']})
- * @View({
+ * @Component({
+ * selector: 'live-data',
+ * inputs: ['live'],
* template: `Data: {{dataProvider.data}}`
* })
* class LiveData {
@@ -168,9 +169,7 @@ export abstract class ChangeDetectorRef {
*
* @Component({
* selector: 'app',
- * providers: [DataProvider]
- * })
- * @View({
+ * providers: [DataProvider],
* template: `
* Live Update:
*
diff --git a/modules/angular2/src/core/change_detection/exceptions.ts b/modules/angular2/src/core/change_detection/exceptions.ts
index 6da450ea84..7bb1a2d7d7 100644
--- a/modules/angular2/src/core/change_detection/exceptions.ts
+++ b/modules/angular2/src/core/change_detection/exceptions.ts
@@ -10,8 +10,8 @@ import {BaseException, WrappedException} from "angular2/src/core/facade/exceptio
* ### Example
*
* ```typescript
- * @Component({selector: 'parent'})
- * @View({
+ * @Component({
+ * selector: 'parent',
* template: `
*
* `,
@@ -55,9 +55,7 @@ export class ExpressionChangedAfterItHasBeenCheckedException extends BaseExcepti
* }
*
* @Component({
- * selector: 'app'
- * })
- * @View({
+ * selector: 'app',
* template: `
*
* `,
diff --git a/modules/angular2/src/core/di/metadata.ts b/modules/angular2/src/core/di/metadata.ts
index bda69c3dd7..8c9b9ca391 100644
--- a/modules/angular2/src/core/di/metadata.ts
+++ b/modules/angular2/src/core/di/metadata.ts
@@ -212,9 +212,7 @@ export class SkipSelfMetadata {
*
* @Component({
* selector: 'parent-cmp',
- * providers: [HostService]
- * })
- * @View({
+ * providers: [HostService],
* template: `
* Dir:
* `,
@@ -225,9 +223,7 @@ export class SkipSelfMetadata {
*
* @Component({
* selector: 'app',
- * providers: [OtherService]
- * })
- * @View({
+ * providers: [OtherService],
* template: `
* Parent:
* `,
diff --git a/modules/angular2/src/core/directives.ts b/modules/angular2/src/core/directives.ts
index 4422b02ffa..8ff8399604 100644
--- a/modules/angular2/src/core/directives.ts
+++ b/modules/angular2/src/core/directives.ts
@@ -34,9 +34,7 @@ export * from './directives/observable_list_diff';
* import {OtherDirective} from './myDirectives';
*
* @Component({
- * selector: 'my-component'
- * })
- * @View({
+ * selector: 'my-component',
* templateUrl: 'myComponent.html',
* directives: [NgClass, NgIf, NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault, OtherDirective]
* })
@@ -51,9 +49,7 @@ export * from './directives/observable_list_diff';
* import {OtherDirective} from './myDirectives';
*
* @Component({
- * selector: 'my-component'
- * })
- * @View({
+ * selector: 'my-component',
* templateUrl: 'myComponent.html',
* directives: [CORE_DIRECTIVES, OtherDirective]
* })
diff --git a/modules/angular2/src/core/directives/ng_class.ts b/modules/angular2/src/core/directives/ng_class.ts
index 2fbea18f3a..6396aa7f8f 100644
--- a/modules/angular2/src/core/directives/ng_class.ts
+++ b/modules/angular2/src/core/directives/ng_class.ts
@@ -30,13 +30,11 @@ import {StringMapWrapper, isListLikeIterable} from 'angular2/src/core/facade/col
* ### Example ([live demo](http://plnkr.co/edit/a4YdtmWywhJ33uqfpPPn?p=preview)):
*
* ```
- * import {Component, View, NgClass} from 'angular2/angular2';
+ * import {Component, NgClass} from 'angular2/angular2';
*
* @Component({
- * selector: 'toggle-button',
- * inputs: ['isDisabled']
- * })
- * @View({
+ * selector: 'toggle-button',
+ * inputs: ['isDisabled'],
* template: `
*