Angular Http Get Query String Javascript Functions