I have a variable I\'m setting in my view with ng-init which I am then trying to access in my controller. When I try to access it however, I\'m getting an
ng-init
the controller is being created before the pageTitle variable is added to the $scope object.