I am trying to implement error logging, by following this tutorial: http://engineering.talis.com/articles/client-side-error-logging/
Errors are logged fine, but i have problems when i want to send the log to the server. I cant make http request. I tried:
$.ajax({type: "POST"...})
But is says that $ is not defined. Also i tried to inject $http here:
loggingModule.factory( "exceptionLoggingService", ["$log","$window", "traceService","$http"...
But then i receive this error. Any ideas how to do this?