如何做一个angularjs页面重定向页面

2025-04-25 12:30:57
推荐回答(1个)
回答1:

app.controller.('firstCtrl' ,["$scope", "$state", function($scope, $state){

    $scope.clickThis=function() {
        $state.go("second");
    }

}]);