How to return Loc value from link URL angular 7 ?
i need actually to return value of loc related to location
meaning i only need to return value 27737
i need to only value of Loc from json object from URL
so my question How to write service and calling
this service on component ngoninit event
I actually need to return only one value from this url
so that
How to write service and calling on component ngoninit event
apiservice.ts
How to create service return only one value from url object ?
http://192.168.4.233:9200/pcn/_search