angular.js - External js loading execution problem when ui-router loads template
伊谢尔伦
伊谢尔伦 2017-05-15 17:12:30
0
1
676

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!

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
阿神

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

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