{"action":"closed","issue":{"url":"https://api.github.com/repos/angular-fullstack/generator-angular-fullstack/issues/1768","repository_url":"https://api.github.com/repos/angular-fullstack/generator-angular-fullstack","labels_url":"https://api.github.com/repos/angular-fullstack/generator-angular-fullstack/issues/1768/labels{/name}","comments_url":"https://api.github.com/repos/angular-fullstack/generator-angular-fullstack/issues/1768/comments","events_url":"https://api.github.com/repos/angular-fullstack/generator-angular-fullstack/issues/1768/events","html_url":"https://github.com/angular-fullstack/generator-angular-fullstack/issues/1768","id":147757620,"number":1768,"title":"\"Resolve\" issue","user":{"login":"saurabhverma2892","id":7875982,"avatar_url":"https://avatars.githubusercontent.com/u/7875982?v=3","gravatar_id":"","url":"https://api.github.com/users/saurabhverma2892","html_url":"https://github.com/saurabhverma2892","followers_url":"https://api.github.com/users/saurabhverma2892/followers","following_url":"https://api.github.com/users/saurabhverma2892/following{/other_user}","gists_url":"https://api.github.com/users/saurabhverma2892/gists{/gist_id}","starred_url":"https://api.github.com/users/saurabhverma2892/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saurabhverma2892/subscriptions","organizations_url":"https://api.github.com/users/saurabhverma2892/orgs","repos_url":"https://api.github.com/users/saurabhverma2892/repos","events_url":"https://api.github.com/users/saurabhverma2892/events{/privacy}","received_events_url":"https://api.github.com/users/saurabhverma2892/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-fullstack/generator-angular-fullstack/labels/need%20details","name":"need details","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-12T13:50:35Z","updated_at":"2016-05-11T16:13:07Z","closed_at":"2016-05-11T16:13:06Z","body":"Hi,\r\n\r\nI am trying to add a resolve . I tried adding the resolve to $stateprovider.state once and also to the module.component, and then using the same variable and passing it to the constructor. I end up with an error everytime\r\nangular.js:13424 Error: [$injector:unpr] Unknown provider. \r\n\r\npossible workarounds?"}}