{"action":"closed","issue":{"url":"https://api.github.com/repos/js-data/js-data-localstorage/issues/12","labels_url":"https://api.github.com/repos/js-data/js-data-localstorage/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/js-data/js-data-localstorage/issues/12/comments","events_url":"https://api.github.com/repos/js-data/js-data-localstorage/issues/12/events","html_url":"https://github.com/js-data/js-data-localstorage/issues/12","id":100195910,"number":12,"title":"localStorage and fallback to http","user":{"login":"eeejayg","id":4298662,"avatar_url":"https://avatars.githubusercontent.com/u/4298662?v=3","gravatar_id":"","url":"https://api.github.com/users/eeejayg","html_url":"https://github.com/eeejayg","followers_url":"https://api.github.com/users/eeejayg/followers","following_url":"https://api.github.com/users/eeejayg/following{/other_user}","gists_url":"https://api.github.com/users/eeejayg/gists{/gist_id}","starred_url":"https://api.github.com/users/eeejayg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eeejayg/subscriptions","organizations_url":"https://api.github.com/users/eeejayg/orgs","repos_url":"https://api.github.com/users/eeejayg/repos","events_url":"https://api.github.com/users/eeejayg/events{/privacy}","received_events_url":"https://api.github.com/users/eeejayg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-11T00:15:26Z","updated_at":"2015-08-11T01:48:44Z","closed_at":"2015-08-11T01:48:44Z","body":"I am using js-data and js-data-localstorage in Angular.  The run function of my main controller looks like:\r\n\r\n    .run(function( DS ) {\r\n        DS.registerAdapter('localstorage', new DSLocalStorageAdapter(), { default: false });\r\n    })\r\n\r\n(1) What does \"default:true\" or \"default:false\" mean in this instance?\r\n\r\n(2) How do I make it fall back to an http request if the item is not found in local storage?  (And of course, once it makes an http request it should be put in local storage.)\r\n\r\nThank you so much.\r\n"}}