when the index page load with ui-view,the injected view works fine But when i change the state and the new view injected it's not get the functionality that define in app/app.js & all.js which loaded initially with the main view.Although the injected ui view gets the css file but not js file which loaded earlier with the main index.html.
here is the index.html and config.js

-
No idea what "not getting the javascript file" means. Provide better detailed problem descriptioncharlietfl– charlietfl2016-06-25 12:53:04 +00:00Commented Jun 25, 2016 at 12:53
-
@charlietfl i have tried to explain clearly to you.. Now u can see. If anything else u need just cmnt.Nazmul– Nazmul2016-06-25 13:22:00 +00:00Commented Jun 25, 2016 at 13:22
-
Please add information from the console, which error is throwing you?Paulo Galdo Sandoval– Paulo Galdo Sandoval2016-06-25 15:23:12 +00:00Commented Jun 25, 2016 at 15:23
-
@PauloGaldoSandoval no error is throwing. Due to not getting the all.js and app.js that loaded with index.html. the ui-view not performing some functionality that defined on that all.js & app.js script. Though the network shows those two js file already loaded. but ui-view don't get them. it's similar to this problem stackoverflow.com/questions/18220197/…Nazmul– Nazmul2016-06-25 15:53:48 +00:00Commented Jun 25, 2016 at 15:53
-
1uhm sound stupid, but you tried to put your all.js and app.js after jquery and angular dependency's? they are declared before, if them use a angular o jquery component they wont load properly.Paulo Galdo Sandoval– Paulo Galdo Sandoval2016-06-25 16:16:33 +00:00Commented Jun 25, 2016 at 16:16
|
Show 3 more comments
