Sudhir Jonathan
2c405f4171
fix($injector): provider can now be defined in the array format
...
`injector.instantiate` is now called for arrays too, instead of only for functions.
Closes #1452
2012-12-01 18:41:59 +01:00
Misko Hevery
d9eff86ef7
fix($injector): more conservative annotation parsing
2012-09-06 16:06:24 -07:00
JP Sugarbroad
e3e8813e3c
refactor($injector): move $injector into the providerCache
...
Better than special-casing '$injector' in createInjector.
2012-07-19 21:56:22 -07:00
Misko Hevery
4361efb03b
feat($injector): provide API for retrieving function annotations
2012-06-01 10:57:51 -07:00
Igor Minar
2cb907a836
fix($injector): properly infer dependencies from fn with no args
...
Previously if there was a white-space in fn: fn( ) {} we failed to infer no args.
This was originally reported by recht, but I decided to use a different fix.
Closes #829
2012-03-29 11:21:04 -07:00
Misko Hevery
2430f52bb9
chore(module): move files around in preparation for more modules
2012-03-28 11:16:35 -07:00