| Age | Commit message (Collapse) | Author |
|
Section heading about `$inject` property refers to it as `$injector` property.
|
|
getService fn takes only one argument, removing the second one.
Closes #1711
|
|
`injector.instantiate` is now called for arrays too, instead of only for functions.
Closes #1452
|
|
|
|
|
|
Better than special-casing '$injector' in createInjector.
|
|
we now have two types of namespaces:
- true namespace: angular.* - used for all global apis
- virtual namespace: ng.*, ngMock.*, ... - used for all DI modules
the virual namespaces have services under the second namespace level (e.g. ng.)
and filters and directives prefixed with filter: and directive: respectively
(e.g. ng.filter:orderBy, ng.directive:ngRepeat)
this simplifies urls and makes them a lot shorter while still avoiding name collisions
|
|
|
|
|
|
documentation used @return but parser expected
@returns, which made the generated documentation
incomplete.
|
|
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
|
|
|