Using localstore module for angular