I used ui-router to create a multi-layered view. I loaded the template through ui-view and introduced the js files related to the template page in the index.html interface, but the template page js did not work at runtime! Why, here are the screenshots!
js was executed, but it didn’t work!
navTree.js:
Routing:
My routing is very simple, the structure has just been set up, there is nothing!
阿神2017-05-15 17:14:30
Post part of your navTree.js code and the routing configuration code
Give me a chestnut
This is the routing configuration
This is the controller