So this fix is to make the class injectable by annotating it with @Injectable(), put it at the top of the class