front end angular is working for fetching data from backend api