I have this resource:
angular.module('showboardApp')
.factory('Session', function () {
return $resource('/api/session.json');
});
I would like to access it from the chrome developer console. Is there some way to inject it and run immediately with similar syntax to this?
angular.module('showboardApp')
.run(function(Session){
var promise = Post.query();
console.log(promise);
});