Angular-Star-Rating-Component in modal

Hey!
I have a strange problem, I combined it https://github.com/noelstieglitz/Angular-Star-Rating-Component in a “modal” in my application
The first time I run the “modal” does not show stars

<star-rating-view class="star-rating" rating-value="dataReview.rating" data-max="5">
<ul class="rating"><!-- ngRepeat: star in stars --></ul>
</star-rating-view>

Once I open again but with different data, stars appear

<star-rating-view class="star-rating" rating-value="dataReview.rating" data-max="5">
<ul class="rating">
<!-- ngRepeat: star in stars -->
<li ng-repeat="star in stars" ng-class="star" class="filled $$hashKey"><i class="icon ion-star"></i></li>
<!-- end ngRepeat: star in stars -->
<li ng-repeat="star in stars" ng-class="star" class="filled $$hashKey"><i class="icon ion-star"></i></li>
<!-- end ngRepeat: star in stars -->
<li ng-repeat="star in stars" ng-class="star" class="filled $$hashKey"><i class="icon ion-star"></i></li>
<!-- end ngRepeat: star in stars -->
<li ng-repeat="star in stars" ng-class="star" class="filled $$hashKey"><i class="icon ion-star"></i></li>
<!-- end ngRepeat: star in stars -->
<li ng-repeat="star in stars" ng-class="star" class="$$hashKey"><i class="icon ion-star"></i></li>
<!-- end ngRepeat: star in stars -->
</ul>
</star-rating-view>

What could be the problem?

Do you mind posting a CodePen sample? It’s really hard trying to solve a problem without seeing the whole picture.

I have created a ratings component for ionic framework. Please have a look at this link. Hope this might help you.

Hi,
it is not working on windows phone . what to do know?? plz tel

I created an ionic 2 rating component: https://github.com/andrucz/ionic2-rating
PRs are welcome!