{"action":"created","issue":{"url":"https://api.github.com/repos/gsklee/ngStorage/issues/163","labels_url":"https://api.github.com/repos/gsklee/ngStorage/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/gsklee/ngStorage/issues/163/comments","events_url":"https://api.github.com/repos/gsklee/ngStorage/issues/163/events","html_url":"https://github.com/gsklee/ngStorage/issues/163","id":105895191,"number":163,"title":"Issue related to prefix","user":{"login":"chiragparekh","id":1888712,"avatar_url":"https://avatars.githubusercontent.com/u/1888712?v=3","gravatar_id":"","url":"https://api.github.com/users/chiragparekh","html_url":"https://github.com/chiragparekh","followers_url":"https://api.github.com/users/chiragparekh/followers","following_url":"https://api.github.com/users/chiragparekh/following{/other_user}","gists_url":"https://api.github.com/users/chiragparekh/gists{/gist_id}","starred_url":"https://api.github.com/users/chiragparekh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiragparekh/subscriptions","organizations_url":"https://api.github.com/users/chiragparekh/orgs","repos_url":"https://api.github.com/users/chiragparekh/repos","events_url":"https://api.github.com/users/chiragparekh/events{/privacy}","received_events_url":"https://api.github.com/users/chiragparekh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-10T20:51:56Z","updated_at":"2015-11-16T06:14:00Z","closed_at":null,"body":"Hello,\r\n\r\nI tried to change to prefix to empty but I am not able to change it to empty.\r\n\r\nI mean this: $localStorageProvider.setKeyPrefix('');\r\n\r\nHow to do this?"},"comment":{"url":"https://api.github.com/repos/gsklee/ngStorage/issues/comments/156926937","html_url":"https://github.com/gsklee/ngStorage/issues/163#issuecomment-156926937","issue_url":"https://api.github.com/repos/gsklee/ngStorage/issues/163","id":156926937,"user":{"login":"dogancelik","id":486818,"avatar_url":"https://avatars.githubusercontent.com/u/486818?v=3","gravatar_id":"","url":"https://api.github.com/users/dogancelik","html_url":"https://github.com/dogancelik","followers_url":"https://api.github.com/users/dogancelik/followers","following_url":"https://api.github.com/users/dogancelik/following{/other_user}","gists_url":"https://api.github.com/users/dogancelik/gists{/gist_id}","starred_url":"https://api.github.com/users/dogancelik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dogancelik/subscriptions","organizations_url":"https://api.github.com/users/dogancelik/orgs","repos_url":"https://api.github.com/users/dogancelik/repos","events_url":"https://api.github.com/users/dogancelik/events{/privacy}","received_events_url":"https://api.github.com/users/dogancelik/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T06:14:00Z","updated_at":"2015-11-16T06:14:00Z","body":"Double quotes issue is related to window.localStorage, I'm assuming there is no double quotes in $localStorage.\r\n\r\nIf you do:\r\n\r\n```js\r\n$localStorageProvider.setKeyPrefix('test-');\r\n// ...\r\n$localStorage.foo = \"asd\"\r\n```\r\n\r\nWhen you check the value in window.localStorage:\r\n\r\n```js\r\n>> localStorage.getItem('test-foo')\r\n<< \"\"asd\"\"\r\n\r\n>> localStorage.getItem('test-foo').length\r\n<< 5\r\n```"}}