added angular service for fetching data to application