Using beta 14 Unknown provider: $ionicTabsConfig

Upgrade to beta 14 getting following errors:

Uncaught Error: [$injector:modulerr] Failed to instantiate module starter due to:
Error: [$injector:unpr] Unknown provider: $ionicTabsConfig

any idea?

Can you provide some code of what you have set up?
Are you injecting $ionicTabsConfig anywhere in your code?

Yes

.config([’$ionicTabsConfig’, function($ionicTabsConfig) {
// Override the Android platform default to add “tabs-striped” class to “ion-tabs” elements.
$ionicTabsConfig.type = ‘’;
}])

There’s your issue.

This was reworked into the $ionicConfigProvider

http://ionicframework.com/docs/api/provider/$ionicConfigProvider/

Now you’ll want to do

$ionicConfigProvider.tabs.style(standard);
1 Like

I think you need to single quote standard like this: 'standard' to make it work.