implement angular local storage to collections