From dafecf7ef4bebac7dff0814bca23494ca37ac3cd Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 1 Nov 2010 11:05:49 +0100 Subject: [PATCH] another angular.service $inject $creation fix --- templates/Cookbook/7-Resources.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/Cookbook/7-Resources.html.ep b/templates/Cookbook/7-Resources.html.ep index 38fe3f6..f5b7778 100644 --- a/templates/Cookbook/7-Resources.html.ep +++ b/templates/Cookbook/7-Resources.html.ep @@ -6,7 +6,7 @@ angular.service('myApplication', function($resource){ { get: {method:'JSON', params:{visibility:'@self'}}, replies: {method:'JSON', params:{visibility:'@self', comments:'@comments'}} }); -}, {inject:['$resource']}); +}, {$inject:['$resource'],$creation:'eager'}); function BuzzController(){} BuzzController.prototype = { -- 2.20.1