docs($injector): fix syntax error

There was a missing parenthesis in $injector test example

Closes #9469