localStorage service for angular applications