title: Spring: convert from JSTL(forEach) to angular.js(ng-repeat)
body: <p>I am new to angular.js,  I have a spring MVC application and I will like to switch from jstl to angular.js, I started this way</p>
  
  <pre><code>&lt;table&gt;
          &lt;c:forEach var="list" items="${list}"&gt;
              &lt;tr class="alt" &gt;&lt;td &gt;${list.name}&lt;/td&gt;&lt;td &gt;${list.value}&lt;/td&gt; &lt;/tr&gt; 
          &lt;/c:forEach&gt;
   &lt;/table&gt;
  </code></pre>
  
  <p>to </p>
  
  <pre><code> &lt;table ng-app="" id="users"&gt;
          &lt;tr ng-repeat="x in list"&gt;
               &lt;td&gt;{{ x.name }}&lt;/td&gt;
              &lt;td&gt;{{ x.value }}&lt;/td&gt;
          &lt;/tr&gt;
  
   &lt;/table&gt;
  </code></pre>