X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2FCookbook%2F7-Resources.html.ep;h=f5b77780c006696e68ecc9cfec6b9af85dd21fac;hb=dafecf7ef4bebac7dff0814bca23494ca37ac3cd;hp=38fe3f68b85e298d743aff9b55435ef18e98c60e;hpb=075a9510b79eefdc2ddcd9b96a5f24dc2ef15ebb;p=angular-mojolicious.git 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 = {