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?
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);
I think you need to single quote standard like this: 'standard'
to make it work.