Got service call working with $http not $resource