A localstorage wrapper for angular