angular $stateProvider how to check if url is changed

there are ways to check if stateProvider is changed

1. $scope.$on('$stateChangeSuccess', function (event, toState, toParams, fromState, fromParams){


and also you can watch $locationChangeStart ..

I linked detail page below


Popular posts from this blog

codefights smooth sailing ( CommonCharacterCount)

How to remove 8443 port in URL in tomcat