I am having url for
page1 : Application/Controller1/Action1
I redirect to page1 to :
page2 : Application/Controller1/Action1/#/SubAction1/40
Page 1 is in mvc. Page 2 is in angular.
If i redirect from page2 to :
page3(angular) : Application/Controller1/Action1/#/SubAction2/40
$scope.$on('$routeChangeStart', function (event, next, current)
this event get triggered.
But if redirect page2 to page1
$scope.$on('$routeChangeStart', function (event, next, current)
this event doesn't get fire.
I think it is considering only url after # is changed or not.
#
based on its config. Should read the documentation for the router. Also if page1 doesn't have angular it cannot do anything. But if you're learning I would suggest you learn angular 2 instead of 1. – GillesC Nov 23 '16 at 10:44