I want angularjs to use jQuery instead of jQLite by default. Is it possible? So that in directive link function:
link: function (scope, element, attrs, ngMo
Mickael got the right answer.
Further, at the very end of the angular.js, there is...
bindJQuery();
which will do the trick. It's not a magic.
You have to add jquery script tag before angularjs, this way angularjs will automatically replace jqLite by jQuery.
<!-- Add jQuery -->
<script type="text/javascript" src="jquery.js"></script>
<!-- Then, add angular -->
<script type="text/javascript" src="angularjs.js"></script>