NOTE: This is not an injectable instance, just a globally available function.
Method for serializing common AngularJS objects (scope, elements, etc..) into strings. It is useful for logging objects to the console when debugging.
angular.mock.dump(object);
any object to turn into string.
a serialized string of the argument