orizens / ngx-typeahead

A simple but yet powerful typeahead component for Angular (css framework agnostic)
https://www.npmjs.com/package/ngx-typeahead
MIT License
61 stars 29 forks source link

Import of HttpClientModule destroys providers #26

Open CR34L opened 6 years ago

CR34L commented 6 years ago

When using ngx-typeahead in a lazyloaded module with existing providers (interceptors and so on) the import of HttpClientModule overwrites the base declarations.

This seems to be an known issue from angular: https://github.com/akveo/nebular/issues/631

and here: https://github.com/MurhafSousli/ngx-sharebuttons/issues/174

Is there any way to remove this module import?

orizens commented 6 years ago

ng-typeahead main purpose is make requests with HttpClientModule. please share if you have any idea in mind.