projects
/
angular-mojolicious.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
075a951
)
another angular.service $inject $creation fix
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 1 Nov 2010 10:05:49 +0000
(11:05 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 1 Nov 2010 10:05:49 +0000
(11:05 +0100)
templates/Cookbook/7-Resources.html.ep
patch
|
blob
|
history
diff --git
a/templates/Cookbook/7-Resources.html.ep
b/templates/Cookbook/7-Resources.html.ep
index
38fe3f6
..
f5b7778
100644
(file)
--- 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 = {