var base_url="http://localhost/cityMob/mob/";
var app = angular.module('home', []);
app.controller('homeCtrl', function ($scope, $http,$window) {
$scope.cityname = null;
$scope.cityName = [];
$scope.sign_up = function() {
$window.location.href = 'signup.html';
};
});
<body class="bodybgColor ui-mobile-viewport ui-overlay-a" ng-app="home" ng-controller="homeCtrl">
答案 0 :(得分:0)
我已更新您的HTML代码,似乎正在运作
<body class="bodybgColor ui-mobile-viewport ui-overlay-a" ng-app="home" ng- controller="homeCtrl">
{{ 9+9 }}
<button ng-click="sign_up()"> sign up</button>
</body>
这里是链接http://dojo.telerik.com/ERazU 希望这会对你有所帮助