docs: add missing brackets to API docs for id

closes #5713
This commit is contained in:
Brandy Carney
2016-03-04 10:55:57 -05:00
parent 1b030ea464
commit 948da71e79

View File

@@ -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');
* }
* }
* ```
*