html
<a class="signup" ng-click="jumpToUrl('login')">登录</a>
js
.controller('MapCtrl', function($location){ $scope.jumpToUrl = function(path) { $location.path(path); }; }