App config from beta 7 and beta 8


#1

In beta 7, there’s

@Component({
  template: '<ion-nav [root]="rootPage"></ion-nav>',
  providers: [HTTP_PROVIDERS, AuthService],
  config: {} // http://ionicframework.com/docs/v2/api/config/Config/
})

is the config object supposed to be passed via ionicBootstrap(RootComponent, providers, config) since Beta 8?


#2

Yep, according to the CHANGELOG its

// Pass the main app component as the first argument
// Pass any providers for your app in the second argument
// Set any config for your app as the third argument:
// http://ionicframework.com/docs/v2/api/config/Config/

ionicBootstrap(MyApp, [ConferenceData, UserData], {
    tabbarPlacement: 'bottom'
});