We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
if the value is string , it should be an alias for a service
Updated Home (markdown)
Revert e67db07fa3c20dca7bf1dbab51749c141bccef79...04a03895ad7e24617067aed367e64c66bd32546b on Home
add backticks
Revert 555f81ee01a1df46913826466c85541e481a1c82...c27a303b76b32b475f54531313c7a0ac7602d62e on Home
grammatical correction
correcting controller's to controller as
Minor fix to its [sic] vs it's [meaning it is].
http.then returns data in response.data
I just found out that you can prevent the reverting of the url to the previous valid location when $stateChangeError happens. It shows in angular-ui-router.js (version 0.2.13) line 3245 and 3248
Added contact. reference in view for controllerAs example
Unless I misunderstand the comments, the $viewContentLoading event fires from $rootScope, not $scope. I have changed the example to reflect this, in agreement with the adjacent examples
small correction: $scope.on --> $scope.$on
Added an example of ControllerAs with function definition.
According to code and docs, the event is broadcasted from $rootScope. Using $scope instead of $rootScope in this page causes confusion.
Change from $routeChangeSuccess to $stateChangeSuccess
missing $ for injected service
Add return to translations2 resolve
based on "All these events are fired at the `$rootScope` level"
Inline code style for templateUrl