Angular Router: Injecting dependencies the right way to avoid minifying problems