docs($injector): add example on how to use the element.injector

Closes #5188