I am trying to fetch or get data from a url and save it into a variable for future use.How to do that?Using nodejs and angular.The code is
let dataarray = [];