angular知道怎么用了, 就打算读一读源代码; {{phone.name}} {{phone.snippet}} JS代码: ...
分类:
其他好文 时间:
2014-12-16 20:38:28
阅读次数:
143
By default your HTTP requests with the $https service in Angular arenotcached. By setting some options, you can turn caching on./** * Created by Answe...
分类:
Web程序 时间:
2014-12-16 00:55:06
阅读次数:
491
angular有内置的路由服务$route:angular -- $route API翻译使用$route可以帮助实现路由的切换,视图的改变,但是这个内置的$route只包含了基本的功能,在很多场合下是不够用的.所以,需要学习使用uiRouter.首先,在页面中链入'angular-ui-route...
分类:
其他好文 时间:
2014-12-15 16:45:22
阅读次数:
520
没有克服不了的技术困难。如果有,绕过去就是了。所以,还是没有。没有解决不了的技术问题。如果有,让它不是问题就是了。所以,还是没有。...
分类:
Web程序 时间:
2014-12-14 21:21:08
阅读次数:
240
Directives have dependencies too, and you can use dependency injection to provide services for your directives to use.Bad: If you want to use in anot....
分类:
Web程序 时间:
2014-12-13 21:47:19
阅读次数:
297
如果要看angular的代码, 先把这个给看了, 司徒的干货。/********************************************************************* * 依赖调度系统 ...
分类:
其他好文 时间:
2014-12-12 20:35:09
阅读次数:
203
一、扯淡的说name:【豆瓣搜索】最近关注了下豆瓣的API,发现豆瓣开放平台需要加强API文档撰写啊....但是有个可喜的发现豆瓣V2接口提供了搜索接口。最近在用phantom弄些爬虫,想想,真是美丽极了!有个豆瓣的接口,我都不用去爬数据,不用数据存储,丢给github page直接完事。豆瓣,Ni...
分类:
移动开发 时间:
2014-12-12 19:01:32
阅读次数:
175
后台请求使用的是nodeJS驱动(后面帖代码),很简单的RESTFUL, 页面使用的是bottstarp3.0(懒人神器); 第一个例子: 在本地架设NODEJS, angular的所有请求都是请求本地的3000端口, 这个例子展示的是angular用GET请求服务器的list.json, ...
分类:
Web程序 时间:
2014-12-11 20:37:24
阅读次数:
253
In the previous code, both categories and bookmarks are binded to $rootscope, or let says the same scope.eggly-app.js:angular.module('Eggly', [ 'ui...
分类:
Web程序 时间:
2014-12-11 18:58:22
阅读次数:
201
angular ng-switch的使用 1 2 ...
分类:
其他好文 时间:
2014-12-09 19:16:00
阅读次数:
261