Thursday, 9 October 2014

angluarjs template conflict with jquery

First of all, this is not an issue if I run my project by "grunt serve".

But I get an error If I run the project by "grunt serve:prod".

I finally found that:

If I have this in my index.html:

<script src="bower_components/jquery/dist/jquery.js"></script>

I will have this issue:

which is:

This is the code in main.js.

No comments:

Post a comment