angular.js - How to call functions in angularjs in jquery?
过去多啦不再A梦
过去多啦不再A梦 2017-05-15 17:11:25
0
1
691

The data request is using $.ajax in jquery.... But I wrote it in angular, but I want to request $.ajax in angular in one call in external js. How to call it?

过去多啦不再A梦
过去多啦不再A梦

reply all(1)
大家讲道理

When using Angular, you don’t need to use jQuery’s $.ajax. You can directly use the $http provided by Angular. I don’t know what you mean by the external js. Is it another controller? If it is another controller, then Just request it again directly in that controller

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template