user1005310 user1005310 - 1 year ago 103
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 ?

Answer Source

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

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download