refactor($injector): remove unused invoke queue variable

Closes #8755
perf($compile): only iterate over elements with link functions

Closes #8741
docs(guide/directive) example79 ptor missing attr

Closes #8257