Updated example to include Injector