title: Dynamically set element width based on ng-repeat item count
body: <p>I am new to use AngularJS 1.4.x .</p>
  
  <pre><code>&lt;div class="colContainer" ng-repeat="item in betNumber" ng-style="{width:{{rowWidth(item.length)}} +'px'}"&gt;
  </code></pre>
  
  <p>when press AddNumber ball more then 13 ,i wish width size can resize .
  This is my hope
  <img src="https://i.stack.imgur.com/arNGE.png" alt="enter image description here"></p>
  
  <p>i hope can dynamic change div width size ,how to let it work fine ???</p>
  
  <p>This is my hope <a href="http://plnkr.co/edit/t8bBjE?p=preview" rel="nofollow noreferrer">http://plnkr.co/edit/t8bBjE?p=preview</a></p>