docs($injector): use square bracket notation for $inject annotation

Closes #5104