Angular JS $locationChangeStart get next url route object

后端 未结 4 2087
忘掉有多难
忘掉有多难 2021-02-14 08:44

I am trying to implement Authorization on my angular application, when a route is changed I want to check whether the route is authorized for user or not. I tried with $ro

4条回答
  •  说谎
    说谎 (楼主)
    2021-02-14 08:59

    What is contained in next.$$route?

    There should be a next.$$route.route_object

提交回复
热议问题