I'm trying to format AngularJS $log errors and send them to the server. My problem is I cannot figure out how to get the data.
Check out this fiddle to see my decorator in action.
What I'm having a hard time with is getting the desired data out from the first element in the array. It says the type is an object but when I try to iterate over the object I get nothing.