message: docs(core): correct code examples for ChangeDetectorRef
diff: @@ -28,7 +28,7 @@ export abstract class ChangeDetectorRef {
  *
  * constructor(private ref: ChangeDetectorRef) {
  * setInterval(() => {
  - * this.numberOfTicks ++
  + * this.numberOfTicks++;
  * // the following is required, otherwise the view will not be updated
  * this.ref.markForCheck();
  * }, 1000);
  @@ -78,7 +78,7 @@ export abstract class ChangeDetectorRef {
  * @Component({
  * selector: 'giant-list',
  * template: `
  - * <li *ngFor="let d of dataProvider.data">Data {{d}}</lig>
  + * <li *ngFor="let d of dataProvider.data">Data {{d}}</li>
  * `,
  * })
  * class GiantList {
  @@ -169,12 +169,13 @@ export abstract class ChangeDetectorRef {
  * constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) {}
  *
  * set live(value) {
  - * if (value)
  + * if (value) {
  * this.ref.reattach();
  - * else
  + * } else {
  * this.ref.detach();
  * }
  * }
  + * }
  *
  * @Component({
  * selector: 'app',
  