0

I am using the angular framework with ngRoute module.

I have a group of routes defined that have in common the url '/:backoffice/*'.

What I want is when I call some one of this group that it passes in a global route where i can determine if the user have permissions to access, if it does the proccess of routing continues to the route of the group that we called.

I read something in angular website and I tried use the url "/backoffice/", "/backoffice//:restofurl" but it doesn´t get inside of the resolve and I am not sure if would do rerouting.

I don't know if it is the best way. This route was defined before the definition of the another group. Someone that can help me?

fabioDMFerreira
  • 307
  • 4
  • 11

0 Answers0