How To Handle Api Response In Angular