Add a pass to support $injector.invoke