view raw
user1005310 user1005310 - 8 months ago 53
AngularJS Question

Rendering the script bundle in a plain HTML page

I am using HTML pages in my angularjs MVC application instead of cshtml page.
Now I am trying to bundle all the js files , I know for script rendering I can use this syntax


What is the equivalent of using @script.render on a plain htm page ?


You can just use a normal script tag to load your Javascript.

<script src="app/main.js"></script>