在使用ng-include 时总是显示不出来,后在github上找一段代码 原来""内还要加个''
坑爹
<!DOCTYPE html>
<html lang="zh-CN" ng-app>
<head>
<meta charset="UTF-8">
<script src="../framework/angularjs1.4.8/angular-1.3.0.js"></script>
<script type="text/javascript">
function controller($scope) {
}
</script>
<title></title>
</head>
<body ng-controller="controller">
<div ng-include src="'tpl/phone.html'"></div>
</body>
</html>