Angular dependency injection and forRoot()