title: Angular2,Ionic2 :How to get static star ratings in angular 2 for values in database?
body: <p>I want to display star ratings for values in a REST API. For every product my API contains a parameter called ratings which ranges from 1-5. </p>
  
  <p>I'm only able to find the code for clickable ratings. But I want to show that value in the form of stars from 1-5. Like how we have stars for movie ratings or product ratings.</p>
  
  <p>I found this link but it is for Angular1
  <a href="https://stackoverflow.com/questions/23646395/rendering-a-star-rating-system-using-angularjs">Rendering a Star Rating System using angularjs</a></p>
  
  <p>Please help me with this.Thanks in advance.</p>