From 948da71e7970668fa967bb16bb9f184fafd464d9 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Fri, 4 Mar 2016 10:55:57 -0500 Subject: [PATCH] docs: add missing brackets to API docs for id closes #5713 --- ionic/components/app/id.ts | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/ionic/components/app/id.ts b/ionic/components/app/id.ts index c055008f21..cc5f83e604 100644 --- a/ionic/components/app/id.ts +++ b/ionic/components/app/id.ts @@ -19,13 +19,14 @@ import {IonicApp} from './app'; * service: * ```ts * constructor(app: IonicApp) { - * this.app = app + * this.app = app * } - * ngAfterViewInit{ - * var checkbox = this.app.getComponent("myCheckbox"); - * if (checkbox.checked) { - * console.log('checkbox is checked'); - * } + * + * ngAfterViewInit() { + * var checkbox = this.app.getComponent("myCheckbox"); + * if (checkbox.checked) { + * console.log('checkbox is checked'); + * } * } * ``` *