change angular jQLite with actual jQuery

后端 未结 2 1697
甜味超标
甜味超标 2021-01-17 14:11

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         


        
2条回答
  •  半阙折子戏
    2021-01-17 14:35

    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.

提交回复
热议问题