摘要:
FiltersAngularJS provides fileters to transfrom data from one kind to another . For example: {{user.birthday | date:'yyyy-MM-dd'}}In this example, th... 阅读全文
posted @ 2014-12-05 10:10
502280728
阅读(203)
评论(0)
推荐(0)
摘要:
DirectivesIn AngularJS, we can use a variety of naming conventions to reference directives .In the AngularJS documentation, all the directive are ind... 阅读全文
posted @ 2014-12-05 10:09
502280728
阅读(227)
评论(0)
推荐(0)
摘要:
Overcomming same-origin policy restrictions with JSONP.AJAX has a restriction that it can only retrieve data from the same resource.There are several... 阅读全文
posted @ 2014-12-05 10:08
502280728
阅读(191)
评论(0)
推荐(0)
摘要:
AngularJS内置了$http这个服务来与后台联系。(默认会把接受到的数据转换为json)当然,还有一个$resource来提供与RESTful后台联系的服务。$http服务 $http比较简单,下面是$http的常规用法 $http.get(url,[config]) .success(fun... 阅读全文
posted @ 2014-12-05 10:07
502280728
阅读(280)
评论(0)
推荐(0)

浙公网安备 33010602011771号