devdactic-ionic_login
devdactic-ionic_login copied to clipboard
10 $digetst() iterations reached
Hi simon,
First of all, thanks so much for this tutorial. Just want to ask how to get this error resolved. When we first run the application we get this Error: text Error : " Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting! Watchers fired in the last 5 iterations: [] "
Thanks
how to resolve?
In your app.js routing section, instead of this: $urlRouterProvider.otherwise('/app/')
use the function version:
$urlRouterProvider.otherwise(function ($injector, $location) { var $state = $injector.get("$state"); $state.go("app.home"); });