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:
58c7886
)
fix angular.service $inject with $creation
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 1 Nov 2010 10:00:57 +0000
(11:00 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 1 Nov 2010 10:00:57 +0000
(11:00 +0100)
based on help from mailing list:
https://groups.google.com/group/angular/browse_thread/thread/
360af0c6158db733
templates/Cookbook/5-DeepLinking.html.ep
patch
|
blob
|
history
diff --git
a/templates/Cookbook/5-DeepLinking.html.ep
b/templates/Cookbook/5-DeepLinking.html.ep
index
0c1602e
..
31d072a
100644
(file)
--- a/
templates/Cookbook/5-DeepLinking.html.ep
+++ b/
templates/Cookbook/5-DeepLinking.html.ep
@@
-9,7
+9,7
@@
angular.service('myApplication', function($route){
name:'anonymous',
contacts:[{type:'email', url:'anonymous@example.com'}]
};
- }, {
inject:['$route']
});
+ }, {
$inject:['$route'], $creation:'eager'
});
function WelcomeCntl(){}
WelcomeCntl.prototype = {