Include Angular file in layout.cshtml

I want to include my angular file(Layout.js) inside my _Layout.cshtml. So I added it at the end of the page like this:-

    @section Scripts{
    <script src="~/Angular_Files/Layout.js"></script> 

This does work but only for the index page. Whenever I click on another link say course.cshtml, my angular file(Layout.js) doesn't get included.

PS: I tried to explain the best I can. Feel free if you need any more clarification.