84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
这个是angularjs文档里面的一段代码
$http.jsonp是异步请求啊,怎么能保证在调用convert方法的时候,$http.jsonp已经请求完成。
It is an asynchronous request, not an abnormal request. In this case, the service returns a method (console.log is Promise) instead of returning data (usually json), so that the request is sent when executed in the controller
It is an asynchronous request, not an abnormal request. In this case, the service returns a method (console.log is Promise) instead of returning data (usually json), so that the request is sent when executed in the controller