缓存本地文件
<script type="text/ng-template" id="embedded.home.html">
<h1> Home111</h1>
</script>
<script type="text/ng-template" id="embedded.about.html">
<h1> About111 </h1>
</script>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script>
<script src="http://apps.bdimg.com/libs/angular-route/1.3.13/angular-route.js"></script>
</head>
<body ng-app="myApp" class="ng-scope" >
<script type="text/ng-template" id="a.html"><h1> Home111</h1></script>
<script type="text/ng-template" id="b.html"><h1> About111 </h1></script>
<div ng-controller="myCtrl">
<div ng-include="'b.html'"></div>
</div>
</body>
</html>
<script>
var app = angular.module('myApp', [])
app.controller('myCtrl', function($scope){
})
</script>