{"action":"created","issue":{"url":"https://api.github.com/repos/lynndylanhurley/ng-token-auth/issues/237","labels_url":"https://api.github.com/repos/lynndylanhurley/ng-token-auth/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/lynndylanhurley/ng-token-auth/issues/237/comments","events_url":"https://api.github.com/repos/lynndylanhurley/ng-token-auth/issues/237/events","html_url":"https://github.com/lynndylanhurley/ng-token-auth/issues/237","id":120613975,"number":237,"title":"Module 'ng-auth-token' is not available!","user":{"login":"dgoradia","id":9560862,"avatar_url":"https://avatars.githubusercontent.com/u/9560862?v=3","gravatar_id":"","url":"https://api.github.com/users/dgoradia","html_url":"https://github.com/dgoradia","followers_url":"https://api.github.com/users/dgoradia/followers","following_url":"https://api.github.com/users/dgoradia/following{/other_user}","gists_url":"https://api.github.com/users/dgoradia/gists{/gist_id}","starred_url":"https://api.github.com/users/dgoradia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgoradia/subscriptions","organizations_url":"https://api.github.com/users/dgoradia/orgs","repos_url":"https://api.github.com/users/dgoradia/repos","events_url":"https://api.github.com/users/dgoradia/events{/privacy}","received_events_url":"https://api.github.com/users/dgoradia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-06T06:46:32Z","updated_at":"2015-12-08T02:13:43Z","closed_at":"2015-12-08T02:13:43Z","body":"```\r\nError: [$injector:modulerr] Failed to instantiate module ng-auth-token due to:\r\nError: [$injector:nomod] Module 'ng-auth-token' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.\r\n```\r\n\r\n```js\r\n'use-strict';\r\n\r\nvar insightDashboard = angular.module('insightDashboard', [\r\n  'ui.router',\r\n  'templates',\r\n  'ng-auth-token'\r\n]);\r\n```\r\n\r\nThe files are definitely included:\r\n```ruby\r\n//= require jquery\r\n//= require jquery_ujs\r\n//= require turbolinks\r\n//= require angular\r\n//= require angular-ui-router\r\n//= require angular-cookie\r\n//= require ng-token-auth\r\n//= require angular-bootstrap\r\n//= require restangular\r\n//= require angular-rails-templates\r\n//= require_tree .\r\n```\r\n\r\nI followed the instruction in the readme but getting the error above."},"comment":{"url":"https://api.github.com/repos/lynndylanhurley/ng-token-auth/issues/comments/162736737","html_url":"https://github.com/lynndylanhurley/ng-token-auth/issues/237#issuecomment-162736737","issue_url":"https://api.github.com/repos/lynndylanhurley/ng-token-auth/issues/237","id":162736737,"user":{"login":"dgoradia","id":9560862,"avatar_url":"https://avatars.githubusercontent.com/u/9560862?v=3","gravatar_id":"","url":"https://api.github.com/users/dgoradia","html_url":"https://github.com/dgoradia","followers_url":"https://api.github.com/users/dgoradia/followers","following_url":"https://api.github.com/users/dgoradia/following{/other_user}","gists_url":"https://api.github.com/users/dgoradia/gists{/gist_id}","starred_url":"https://api.github.com/users/dgoradia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgoradia/subscriptions","organizations_url":"https://api.github.com/users/dgoradia/orgs","repos_url":"https://api.github.com/users/dgoradia/repos","events_url":"https://api.github.com/users/dgoradia/events{/privacy}","received_events_url":"https://api.github.com/users/dgoradia/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T02:13:43Z","updated_at":"2015-12-08T02:13:43Z","body":"Ok, I'm an idiot. I misspelt 'ng-token-auth' with 'ng-auth-token'."}}