JSHint doesn't understand
Added alternative $http get