mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-06-18 12:14:04 +08:00
docs($injector): fix syntax error
There was a missing parenthesis in $injector test example Closes #9469
This commit is contained in:
committed by
Caitlin Potter
parent
613d0a3212
commit
ab240196bf
@@ -134,7 +134,7 @@ function annotate(fn, strictDi, name) {
|
||||
* expect($injector.get('$injector')).toBe($injector);
|
||||
* expect($injector.invoke(function($injector) {
|
||||
* return $injector;
|
||||
* }).toBe($injector);
|
||||
* })).toBe($injector);
|
||||
* ```
|
||||
*
|
||||
* # Injection Function Annotation
|
||||
|
||||
Reference in New Issue
Block a user