Added missing ensureInjected calls.
Merge pull request #207 from kfa/add_missing_ensureInjected

Added missing ensureInjected calls.