04 2017 档案
摘要:get方式请求数据: var theurl = "http://c.m.163.com/nc/article/headline/T1348647853363/0-140.html"; myUrl = encodeURIComponent(theurl); url = "http://127.0.0.
阅读全文
摘要:让你的 AngularJS 应用动起来 : ngView
阅读全文
摘要:ui-view,$stateProvider,$urlRouterProvider
阅读全文
摘要:文件列表:luyou.html,app.js,home.html,user.html,wy.json luyou.html app.js home.html user.html ****************************************************分割线******
阅读全文
摘要:先创建一个主程序文件index.html,内容如下: 其中angular.js和angular-route.js自行下载(本示例用的版本为1.5.8) 然后创建app.js文件,代码如下: home.html: user.html:
阅读全文

浙公网安备 33010602011771号