title: how to dynamically create templates in angular.js
body: <p>New to angularjs so I'm not sure how to best phrase this question so this may be a duplicate.  I have a table that I want to populate with a label and some check boxes.  Each row represents a test metric with two checkboxes indicating "pass" or "fail"</p>
  
  <pre><code>function ListController($scope) {
      $scope.items = [
          {name: 'Feature X', flash: false, html: false},
          {name: 'Feature Y', flash: false, html: false}
      ];
  }
  </code></pre>
  
  <p>I've got the table populating correctly, but what I'm not sure about is how can create this table dynamically?  I want to be able to submit this data and create a new table when a new test is selected.  The only way I can see right now to invoke this function is on the initialization of the document and I can't see how I can pass in any additional values to change the "items" node based on the test. fiddle below:</p>
  
  <p><a href="http://jsfiddle.net/3Lcue/" rel="nofollow">http://jsfiddle.net/3Lcue/</a></p>