87,996
社区成员




<html ng-app="app">
<head>
<script src="angular.js"></script>
<script>
angular
.module('app', [])
.controller('JumpController', function($scope) {
$scope.jump = function(url) {
window.location = url;
}
});
</script>
</head>
<body ng-controller="JumpController">
<div class="col back-detonator" ng-click="jump('aa.html')">
<span>在线数量</span>
<label class="digital ng-binding">{{Count }}</label>
</div>
</body>
</html>
注意:不要用AngularJs提供的$location服务,这个服务是前端路由,用于SAP。