ngMock.angular.mock.dump

Improve this Doc View Source angular.mock.dump

  1. function in module ngMock

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.