change angular jQLite with actual jQuery

后端 未结 2 1696
甜味超标
甜味超标 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:42

    You have to add jquery script tag before angularjs, this way angularjs will automatically replace jqLite by jQuery.

    
    
    
    
    
    

提交回复
热议问题