title: Angular JS - repeat image tag for numbers in array
body: <p>I'm modifying my question a bit since I was not able to get a proper solution previously.</p>
  
  <p>I have an array products_page=["7","8","6","9","5","7","8","9","8","7"]</p>
  
  <p>Each time the below table's  is ng-repeated based on json values, the image tag (Commented as: Please note this image tag needs to be repeated) needs to be repeated 7 times on first ng-repeat, 8 times on second ng-repeat, 6 times on third ng-repeat and so on....</p>
  
  <pre><code>&lt;table class="table table-bordered"&gt;
      &lt;tbody&gt;
          &lt;tr ng-repeat="user in users[0].tvseries | filter: searchText | filter: genre.config | orderBy:predicate"&gt;
              &lt;td&gt;
                  &lt;img ng-src="{{user.thumbnail}}" alt="" /&gt;
              &lt;/td&gt;
              &lt;td&gt;
                  &lt;div&gt;{{user.tv_show_name}}&lt;/div&gt;
                  &lt;div&gt;{{user.brief_description}}&lt;/div&gt;
                  &lt;div&gt;Rating:
                  &lt;!--Please note this image tag needs to be repeated--&gt;
                  &lt;img ng-repeat="rate in getNumber(products_page[$index]) track by $index" src="img/star.png" width="15" height="15" /&gt;
                  &lt;!--Please note this image tag needs to be repeated--&gt;
                  {{user.rating}}&lt;/div&gt;
              &lt;/td&gt;
              &lt;td&gt;
                  &lt;div&gt;SHOW TIME:{{user.show_time}}&lt;/div&gt;
                  &lt;div&gt;GENRE:{{user.genre}}&lt;/div&gt;
                  &lt;div&gt;SEASON:{{user.current_season}}&lt;/div&gt;
                  &lt;div&gt;EPISODE:{{user.current_episode}}&lt;/div&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Is there any way to achieve this?</p>