NOTE: This is not an injectable instance, just a globally available function.
Method for serializing common angular objects (scope, elements, etc..) into strings. It is useful for logging objects to the console when debugging.
angular.mock.dump(object);
Param | Type | Details |
---|---|---|
object | * | any object to turn into string. |
string |
a serialized string of the argument |
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.5.11/docs/api/ngMock/function/angular.mock.dump