doc(bootstrap): update usage

This commit is contained in:
mhartington
2016-06-08 17:20:10 -04:00
parent 8836ae060d
commit 46f6ee8428

View File

@ -39,11 +39,10 @@ const _reflect: any = Reflect;
* @Component({
* templateUrl: 'build/app.html',
* })
* ```
*
* export class MyClass{}
*
* ionicBootstrap(MyClass, null, {tabbarPlacement: 'bottom'})
* ```
*/
export function ionicBootstrap(appRootComponent: any, customProviders?: Array<any>, config?: any): Promise<ComponentRef<any>> {
// get all Ionic Providers