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

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

Closes #8257
docs(guide/directive): update since 'EA' is now the default restrict value

11f5aeeee952a395edaf54e3277674f211a82fc7 changed the compiler to use 'EA' as a 'restrict'
value if not specified in the directive object, and the directive guide needed some slight
changes to address this.

Closes #8769
docs(dateFilter): add example of string literals in format string

Also changes the wording to include the word "escaped" and "escape", which may help users find the
information they're looking for via searching. (ﾉ◕ヮ◕)ﾉ*:･ﾟ✧

Closes #8770
refactor($injector): remove unused strictDi argument