diff -r 08f34bbc70ee -r 4d27fbc3f9df client/app/app.js --- a/client/app/app.js Wed Mar 11 17:38:14 2015 +0100 +++ b/client/app/app.js Tue Mar 17 16:34:23 2015 +0100 @@ -54,7 +54,6 @@ $logProvider.debugEnabled(true); }) .service('searchApi', function($resource, context) { - console.log('search 4',$resource, context); this.searchResource = function(params){ return $resource(context.urls.searchUrl, { @@ -85,6 +84,7 @@ } }); }; + this.getResource = $resource(context.urls.ammicoUrl+'/:action', {action:'@action'}); }); })();