feature(directive_injector): add View to DirectiveInjector

Some directives require access to the current view. Add the view field to the DirectiveInjector class, so it can be injected.

Closes #1293