I\'m starting out with Angular through the Ionic Framework but I am failing to understand why the controller only runs once i.e. I change state, the controller runs, change to a
You can put the code you want to run in $ionicView.enter:
controller : function( $scope, $cordovaSQLite ){ $scope.$on('$ionicView.enter', function() { // code to run each time view is entered }); ... });
See "View LifeCycle and Events": https://ionicframework.com/docs/v1/api/directive/ionView/