https://developer.mozilla.org/en/docs/Web/API/Window/localStorage
-> use localStorage.getItem('itemName') to retrieve data from localstorage
-> use localStorage.setItem('itemName', 'value') to set data
there are multiple angularjs adaptions out there.. if you need it.
Keep in mind to only use localstorage for small amount of data (max 5MB)
you can only store string values --> so if you want to store an object or array use JSON.stringify and JSON.parse and if you want to store numbers use parseInt(NumberString, 10); to get the real number.