I encountered a problem recently:
I have such a requirement. There are many templates in a main controller, which are called by uirouter based on ID. Each ID corresponds to a controller. Now I need to process each template separately. There is a {{pageTitle}} for each page. Display different values and assign the corresponding value to the title. How to do this?
过去多啦不再A梦2017-05-19 10:29:17
If you use uirouter control, you can handle it in the onChangeSuccess listening event
巴扎黑2017-05-19 10:29:17
The easiest way is to separate the template into an html and embed it with an iframe