angular/angular.js — pull request #10020 by phouri (2014-11-12 11:40:03+00:00)
Title: fix(:http): Fix error message on calls to $http without an object

fix(:http): Fix error message on calls to $http without an object

Checks on $http calls and validates it received an object, if it receives a string, automatically wraps it in an object containing only url.
If an array or any non object/string is passed, will throw an error.

Closes #10016