function passed in as context for $injector calls where we have locals with one exeption. This should fix #11