摘要: 1.Application Cache HTML5引入应用缓存,意味着web应用可以进行缓存,即使在没有网络的情况下也能使用。 application cache有三个特点 离线浏览 已缓存的资源加载速度更快 减少服务器负载,浏览器将只从服务器下载更新过或更改过的资源 使用方法就是在 html标签中 阅读全文
posted @ 2016-08-26 11:49 梁哥 阅读(1139) 评论(0) 推荐(0) 编辑
摘要: angular.module 创建、获取、注册angular中的模块 //创建一个新模块,空数组代表该数组不依赖其他模块 var createModule = angular.module("createMd",[]); //只有一个参数(模块),代表获取模块 //如果模块不存在,angular会抛 阅读全文
posted @ 2016-03-09 09:27 梁哥 阅读(151) 评论(0) 推荐(0) 编辑
摘要: <div ng-controller="Controller"> <form novalidate class="simple-form"> Name: <input type="text" ng-model="user.name" /><br /> E-mail: <input type="ema 阅读全文
posted @ 2016-03-08 15:33 梁哥 阅读(180) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2016-03-08 11:52 梁哥 阅读(2) 评论(0) 推荐(0) 编辑