@@ -27,32 +27,32 @@ export * from './src/directives/ng_switch';
2727 * instead of writing:
2828 *
2929 * ```
30- * import {If , NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault} from 'angular2/angular2';
30+ * import {NgClass, NgIf , NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault} from 'angular2/angular2';
3131 * import {OtherDirective} from 'myDirectives';
3232 *
3333 * @Component ({
3434 * selector: 'my-component'
3535 * })
3636 * @View ({
3737 * templateUrl: 'myComponent.html',
38- * directives: [If , NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault, OtherDirective]
38+ * directives: [NgClass, NgIf , NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault, OtherDirective]
3939 * })
4040 * export class MyComponent {
4141 * ...
4242 * }
4343 * ```
44- * one could enumerate all the core directives at once:
44+ * one could import all the core directives at once:
4545 *
4646 * ```
47- * import {coreDirectives } from 'angular2/angular2';
47+ * import {CORE_DIRECTIVES } from 'angular2/angular2';
4848 * import {OtherDirective} from 'myDirectives';
4949 *
5050 * @Component ({
5151 * selector: 'my-component'
5252 * })
5353 * @View ({
5454 * templateUrl: 'myComponent.html',
55- * directives: [coreDirectives , OtherDirective]
55+ * directives: [CORE_DIRECTIVES , OtherDirective]
5656 * })
5757 * export class MyComponent {
5858 * ...
0 commit comments