diff --git a/package.json b/package.json index 2a113cb15..f962ac663 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nativescript-angular", - "version": "0.0.25", + "version": "0.0.26", "description": "", "homepage": "http://www.telerik.com", "bugs": "http://www.telerik.com", diff --git a/src/nativescript-angular/application.d.ts b/src/nativescript-angular/application.d.ts index ec553fc89..89d8035eb 100644 --- a/src/nativescript-angular/application.d.ts +++ b/src/nativescript-angular/application.d.ts @@ -1,5 +1,5 @@ import { Type, ApplicationRef, Provider } from 'angular2/core'; export type BindingArray = Array>; -export function bootstrap(appComponentType: any, componentInjectableBindings?: BindingArray, appOptions?: any): Promise; +export function bootstrap(appComponentType: any, componentInjectableBindings?: BindingArray): Promise; export function nativeScriptBootstrap(appComponentType: any, customProviders?: BindingArray, appOptions?: any): void; diff --git a/src/nativescript-angular/application.ts b/src/nativescript-angular/application.ts index 925d8faca..af81fd0da 100644 --- a/src/nativescript-angular/application.ts +++ b/src/nativescript-angular/application.ts @@ -36,7 +36,7 @@ import application = require('application'); export type ProviderArray = Array; export function bootstrap(appComponentType: any, - customProviders: ProviderArray = null, appOptions: any = null) : Promise { + customProviders: ProviderArray = null) : Promise { NativeScriptDomAdapter.makeCurrent(); let nativeScriptProviders: ProviderArray = [ @@ -80,7 +80,7 @@ export function nativeScriptBootstrap(appComponentType: any, customProviders?: P //profiling.start('ng-bootstrap'); console.log('BOOTSTRAPPING...'); - bootstrap(appComponentType).then((appRef) => { + bootstrap(appComponentType, customProviders).then((appRef) => { //profiling.stop('ng-bootstrap'); console.log('ANGULAR BOOTSTRAP DONE.'); }, (err) =>{