<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="/js/angular.js1.4.6/angular.min.js"></script>
</head>
<body ng-app="myApp" ng-controller="myCtrl">
<h1 ng-repeat="x in records">{{x}}</h1>
<script>
var app = angular.module("myApp", []);
app.controller("myCtrl", function($scope) {
$scope.records = [
"W3xue教程1",
"W3xue教程2",
"W3xue教程3",
"W3xue教程4",
]
});
</script>
</body>
</html>