angular controller nesting - Stack Overflow
習慣沉默
習慣沉默 2017-05-19 10:27:17
0
2
469

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?

習慣沉默
習慣沉默

reply all(2)
过去多啦不再A梦

If you use uirouter control, you can handle it in the onChangeSuccess listening event

巴扎黑

The easiest way is to separate the template into an html and embed it with an iframe

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template