转载于 作者:海底苍鹰地址:http://blog.51yip.com/jsjquery/1599.html 我希望页面加载的时候,我能马上处理页面的数据,如请求API .... 所以这样设置 在某个页面的控制器中 监听页面load phonecatControllers.controller('registerctr', ['$scope', '$routeParams', function($scope, $http,$routeParams) { $scope.login = "&quo…