{"action":"closed","issue":{"url":"https://api.github.com/repos/Narzerus/angular-permission/issues/230","repository_url":"https://api.github.com/repos/Narzerus/angular-permission","labels_url":"https://api.github.com/repos/Narzerus/angular-permission/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/Narzerus/angular-permission/issues/230/comments","events_url":"https://api.github.com/repos/Narzerus/angular-permission/issues/230/events","html_url":"https://github.com/Narzerus/angular-permission/issues/230","id":151985943,"number":230,"title":"permission.ui throwing Unknown Provider: a","user":{"login":"PR1YANKPAT3L","id":5585797,"avatar_url":"https://avatars.githubusercontent.com/u/5585797?v=3","gravatar_id":"","url":"https://api.github.com/users/PR1YANKPAT3L","html_url":"https://github.com/PR1YANKPAT3L","followers_url":"https://api.github.com/users/PR1YANKPAT3L/followers","following_url":"https://api.github.com/users/PR1YANKPAT3L/following{/other_user}","gists_url":"https://api.github.com/users/PR1YANKPAT3L/gists{/gist_id}","starred_url":"https://api.github.com/users/PR1YANKPAT3L/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PR1YANKPAT3L/subscriptions","organizations_url":"https://api.github.com/users/PR1YANKPAT3L/orgs","repos_url":"https://api.github.com/users/PR1YANKPAT3L/repos","events_url":"https://api.github.com/users/PR1YANKPAT3L/events{/privacy}","received_events_url":"https://api.github.com/users/PR1YANKPAT3L/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Narzerus/angular-permission/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-29T23:09:02Z","updated_at":"2016-05-07T10:38:58Z","closed_at":"2016-05-07T10:38:58Z","body":"Hey, \r\nI just started working with angular-permission few days ago and just noticed a new update to the release so I downloaded angular-permission-ui.min.js along with angular-permission.min.js and I set the dependencies as follow:\r\n\r\n```\r\nangular.module('APP', ['ionic', 'ionic.service.core', 'ngMaterial', 'ngMessages', 'auth0', 'angular-storage', 'angular-jwt', 'ui.router', 'ct.ui.router.extras.core', 'permission', 'permission.ui', 'ngFileUpload'])\r\n```\r\n\r\nDoing so gave me this error:\r\n> Uncaught Error: [$injector:modulerr] Failed to instantiate module GAPApp due to:\r\nError: [$injector:modulerr] Failed to instantiate module permission.ui due to:\r\nError: [$injector:unpr] Unknown provider: a\r\n\r\nI can't seem to find the cause of the problem, removing permission.ui from dependency removes the error.\r\n\r\nHow would I approach this issue?\r\n\r\nEdit: I just found out that this only occurs if I use minified version of permissions-ui file. Works fine with uncompressed version."}}