fixing bug of angular DI