阅读背景:

需要将带有变量的$ scope传递给angular中的另一个页面吗?

来源:互联网 

I have this routes:

我有这条路线:

$routeProvider
            .when('/', {
                templateUrl: 'views/main.html',
                controller: 'MainCtrl',
                controllerAs: 'main'
            })
            .when('/next', {
              templateUrl: 'views/next.html',
              controller: 'MainCtrl',
              controllerAs: 'main'
            })
            .otherwise({
                redirectTo: '/'
            });
$routeProvider



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: