From 9a062626a70f92b46fae22e51fa36487cbe8297c Mon Sep 17 00:00:00 2001 From: Nick Duffy Date: Tue, 5 Jan 2016 19:27:42 -0700 Subject: [PATCH] Update LoopBackResource function parameter name --- lib/services.template.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/services.template.ejs b/lib/services.template.ejs index 7b1df83..c05bdf5 100644 --- a/lib/services.template.ejs +++ b/lib/services.template.ejs @@ -57,8 +57,8 @@ var module = angular.module(<%-: moduleName | q %>, ['ngResource']); */ module.factory( <%-: modelName | q %>, - ['LoopBackResource', 'LoopBackAuth', '$injector', function(Resource, LoopBackAuth, $injector) { - var R = Resource( + ['LoopBackResource', 'LoopBackAuth', '$injector', function(LoopBackResource, LoopBackAuth, $injector) { + var R = LoopBackResource( urlBase + <%-: meta.ctor.getFullPath() | q %>, <% /* Constructor arguments are hardcoded for now.