Angular Http Get Query Javascript Array Length