title: Using the ng-repeat directive on a table
body: <p>I have a static HTML table that I'd like to make dynamic. Is ng-repeat the correct directive to be using? I'm new to angular so I'm not really sure how I would do this. Would I create a controller and put the HTML template for the table in the controller or would I do something like have name/value pairs like "Track Name" and set that to "Track 1" etc? Pretty lost. HTML for the table is below. Thanks in advance.</p>
  
  <pre><code>&lt;table class="table"&gt;
    &lt;tr&gt;
      &lt;th&gt;#&lt;/th&gt;
      &lt;th&gt;Track Name&lt;/th&gt;
      &lt;th&gt;Track Duration&lt;/th&gt;
      &lt;th&gt;Options&lt;/th&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;1&lt;/td&gt;
      &lt;td&gt;Track 1&lt;/td&gt;
      &lt;td&gt;3:00&lt;/td&gt;
      &lt;td&gt;&lt;button class="btn btn-danger"&gt;Delete&lt;/button&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;2&lt;/td&gt;
      &lt;td&gt;Track 2&lt;/td&gt;
      &lt;td&gt;3:20&lt;/td&gt;
      &lt;td&gt;&lt;button class="btn btn-danger"&gt;Delete&lt;/button&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>