andrucz / ionic2-rating

:star: Angular star rating bar. Built for Ionic 2+.
MIT License
178 stars 62 forks source link

Changing from 'BrowserModule' to 'CommonModule' #19

Closed VanderAmorin closed 7 years ago

VanderAmorin commented 7 years ago

Ionic 3 requires the import of "BrowserModule" on the app's main module, and it only can be used one time.

As the "browserModule" already exists on the application, we need to remove it from 'ionic2-rating' and add "ComomModule" to be able to use Angular directives like "ngIf" and others.