{"action":"created","issue":{"url":"https://api.github.com/repos/js-data/js-data-angular/issues/352","repository_url":"https://api.github.com/repos/js-data/js-data-angular","labels_url":"https://api.github.com/repos/js-data/js-data-angular/issues/352/labels{/name}","comments_url":"https://api.github.com/repos/js-data/js-data-angular/issues/352/comments","events_url":"https://api.github.com/repos/js-data/js-data-angular/issues/352/events","html_url":"https://github.com/js-data/js-data-angular/pull/352","id":139912899,"number":352,"title":"fix invalid js","user":{"login":"timc13","id":74982,"avatar_url":"https://avatars.githubusercontent.com/u/74982?v=3","gravatar_id":"","url":"https://api.github.com/users/timc13","html_url":"https://github.com/timc13","followers_url":"https://api.github.com/users/timc13/followers","following_url":"https://api.github.com/users/timc13/following{/other_user}","gists_url":"https://api.github.com/users/timc13/gists{/gist_id}","starred_url":"https://api.github.com/users/timc13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timc13/subscriptions","organizations_url":"https://api.github.com/users/timc13/orgs","repos_url":"https://api.github.com/users/timc13/repos","events_url":"https://api.github.com/users/timc13/events{/privacy}","received_events_url":"https://api.github.com/users/timc13/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-10T14:59:53Z","updated_at":"2016-03-18T18:37:06Z","closed_at":"2016-03-18T03:18:03Z","pull_request":{"url":"https://api.github.com/repos/js-data/js-data-angular/pulls/352","html_url":"https://github.com/js-data/js-data-angular/pull/352","diff_url":"https://github.com/js-data/js-data-angular/pull/352.diff","patch_url":"https://github.com/js-data/js-data-angular/pull/352.patch"},"body":"Cannot assign a property to a string."},"comment":{"url":"https://api.github.com/repos/js-data/js-data-angular/issues/comments/198488753","html_url":"https://github.com/js-data/js-data-angular/pull/352#issuecomment-198488753","issue_url":"https://api.github.com/repos/js-data/js-data-angular/issues/352","id":198488753,"user":{"login":"jmdobry","id":1213510,"avatar_url":"https://avatars.githubusercontent.com/u/1213510?v=3","gravatar_id":"","url":"https://api.github.com/users/jmdobry","html_url":"https://github.com/jmdobry","followers_url":"https://api.github.com/users/jmdobry/followers","following_url":"https://api.github.com/users/jmdobry/following{/other_user}","gists_url":"https://api.github.com/users/jmdobry/gists{/gist_id}","starred_url":"https://api.github.com/users/jmdobry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmdobry/subscriptions","organizations_url":"https://api.github.com/users/jmdobry/orgs","repos_url":"https://api.github.com/users/jmdobry/repos","events_url":"https://api.github.com/users/jmdobry/events{/privacy}","received_events_url":"https://api.github.com/users/jmdobry/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T18:37:06Z","updated_at":"2016-03-18T18:37:06Z","body":"There have been many angular modules published in UMD format and for a time the \"best practice\" was to export a module that had a `name` property that corresponds to the name of the angular module that your app's module depends on. I personally prefer exporting the name directly, but, some people still try to do `.name`...\r\n\r\nTry this in devtools: `'js-data'.name = 'js-data'`, i've never seen that throw an error in my use of js-data-angular."}}