.state('', {
url : '/main',
ncyBreadcrumb : {
},
params : {
},
resolve : {
data : function($stateParams, $q) {
var deferred = $q.defer();
service.functionnnnnnn(params).then(function(result) {
deferred.resolve(result.data);
});
return deferred.promise;
}
},
views : {
'main' : {
controller : "",
controllerAs : "vm",
templateUrl : ,
}
}
})
慕妹3242003
相关分类