Hi,
I’m discovering the interestng world of mobile web through ionic since now a few days, and I wanted to thank you for the work you’ve done making it more easy to build quickly native/web app.
As I’m a beginner with ionic my question may look easy but I don’t understand how to properly use $ionicNavBarDelegate. In my controller, I’ve added it as argument:
tata.controller('MainCtrl', function($scope, $ionicNavBarDelegate, $ionicModal, $ionicSideMenuDelegate, SettingsService) { ...
$scope.activatedOnClik = function() {
$ionicNavBarDelegate.setTitle('test');
}
}
However I get the following error when running the app as if I didn’t spell the name correctly: https://docs.angularjs.org/error/$injector/unpr?p0=$ionicNavBarDelegateProvider%20<-%20$ionicNavBarDelegate from ionic.bundle.min.js:28
I don’t really know where does this come, if anyone has a clue please!
Thanks!