PatrickJS on npm_and_yarn
PatrickJS on master
chore(deps-dev): bump node-sass… (compare)
dependabot[bot] on npm_and_yarn
chore(deps-dev): bump node-sass… (compare)
PatrickJS on master
Update README.md (compare)
resolves: {
someData: function(someService) {
return someService.getSomeData();
}
}
.state('accountsViewInfo', {
url: '/accounts/info/:accountID',
template: '<detail></detail>',
resolve: {
account: function($stateParams, accountService) {
"ngInject";
return accountService.getAccountById($stateParams.accountID);
}
}
})
if I pass into the controller: account
constructor($stateParams, $localStorage, accountService, account) {
"ngInject";
var self = this;
this.accountService = accountService;
i get a can’t resolve provider error