angular : add a service to get data