Local storage service for AngularJS