我正在研究 angularjs。我创建了一个脚本。当我开始在浏览器上应用时,出现这样的情况,
稍晚一点的结果,
<body>
<div data-ng-controller="SimpleController">
Search By Name: <input type="text" data-ng-model="searchTerm" />
<ul>
<li data-ng-repeat="cust in customers | filter:searchTerm | orderBy:name">{{cust.name}} - {{cust.city | uppercase}}</li>
</ul>
</div>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js"></script>
<script type="text/javascript">
function SimpleController($scope) {
$scope.customers = [
{ name: 'John', city: 'Barcelona' },
{ name: 'Scott', city: 'Madrid' },
{ name: 'Jennifer', city: 'Seattle' },
{ name: 'Mike', city: 'Atalanta' }
];
}
</script>
</body>
我想在加载第二张图片等所有内容后查看结果。