Answer the question
In order to leave comments, you need to log in
View of URL routing in angular?
Good afternoon, the site implements routing in php, it became necessary to translate it into angular with the ability to save the url format.
The question is that in each manual for setting up routing through ngRoute/ui.router, examples are given with a url like this: api/news/1/edit .
In php router all URLs are like this: id1&tab=newsfeed or news&act=create
Is there any solution that allows using regular expressions in router/whatever to load the template of the desired page?
All these manipulations are necessary for the correct definition of the controller with a method for loading the desired template.
Thank you!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question