changed injector from $Q to $q