Title: I find that some JS files in the common layout html are not available in the ng-view loaded file
Tags: angularjs
Question: I am new to AngularJS and making a headway.
However I came across this issue later in my work.
I have found that...
Some non-angular JS files are not available in the partial-html loaded with the ng-view command through default AngularJS routing.
As I am new to AJs, so can anyone assist me to fix this problem.
I would really appreciate if the solution is given living in the default AngularJS framework i.e a pure AJs solution. I have seen third party workarounds which are sort of stepping out of the framework without being aware of any possible performance compromises.
Thank you.
Comment: You have `` in the view? [No chance for it to work](https://docs.angularjs.org/api/ng/directive/script). You need to include them in the main HTML page, or use something like [ocLazyLoad](https://github.com/ocombe/ocLazyLoad) to dynamically load them

Here is the accepted answer: After searching for answers for quiet a while I have discovered a pure AngularJS solution to the joshua87@example.org.
The solution is rather a complete repository on GitHub by a user so here is the link...
https://github.com/ikaul/AngularJS-Single-Page-App/tree/master/assignment5


{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 1, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2017:00:05/02/17', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<angularjs>', 'Title': 'I find that some JS files in the common layout html are not available in the ng-view loaded file', 'ViewCount': 18, 'id': 43744840, 'user_AboutMe': '', 'user_AccountId': 7652452.0, 'user_DisplayName': 'echology', 'user_Reputation': 397.0, 'user_Views': 80.0, 'user_id': 5800637.0}}