Angularjs 数据循环
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="X-UA-Compatible"content="edge" />
<meta name="viewport"content="width=device-width,initial-scale=1" />
<title></title>
<meta charset="utf-8" />
<link rel="stylesheet"href="bootstrap/css/bootstrap.min.css" />
<style>
</style>
</head>
<body>
<div class="container"style="padding:50px">
<div data-ng-app="nameApp"data-ng-controller="nameCtrl">
<ol>
<li data-ng-repeat="l in languages">{{l}}</li>
</ol>
</div>
</div>
<script src="jQuery/jquery-2.2.0.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script>
<script>
angular.module("nameApp", []).controller("nameCtrl", function ($scope) { $scope.languages=["Html5","Css3","Javascript","jQuery","Bootstrap","Angular","C#","Asp.net","Mssql"]})
</script>
</body>
</html>