projects
/
angular-mojolicious.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix angular.service $inject with $creation
[angular-mojolicious.git]
/
templates
/
Cookbook
/
5-DeepLinking.html.ep
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 = {