title: AngularJS table with Filter
body: <p>I get an object like following:</p>
  <pre><code>$scope.Students = [{
      &quot;Name&quot;: &quot;Muffin 1&quot;,
      &quot;RollNo&quot;: &quot;12312&quot;,
      &quot;Class&quot;: &quot;Standard B&quot;,
      &quot;Performances&quot;: [{
        &quot;Group&quot;: &quot;Science&quot;,
        &quot;Subject&quot;: &quot;Math&quot;,
        &quot;Mark&quot;: 99
      }, {
        &quot;Group&quot;: &quot;Science&quot;,
        &quot;Subject&quot;: &quot;Physics&quot;,
        &quot;Mark&quot;: 99
      }, {
        &quot;Group&quot;: &quot;Arts&quot;,
        &quot;Subject&quot;: &quot;Drawing&quot;,
        &quot;Mark&quot;: 99
      }, {
        &quot;Group&quot;: &quot;Arts&quot;,
        &quot;Subject&quot;: &quot;Poetry&quot;,
        &quot;Mark&quot;: 99
      }]
    }, {
      &quot;Name&quot;: &quot;Muffin 2&quot;,
      &quot;RollNo&quot;: &quot;1232&quot;,
      &quot;Class&quot;: &quot;Standard A&quot;,
      &quot;Performances&quot;: [{
        &quot;Group&quot;: &quot;Science&quot;,
        &quot;Subject&quot;: &quot;Chemistry&quot;,
        &quot;Mark&quot;: 99
      }, {
        &quot;Group&quot;: &quot;Science&quot;,
        &quot;Subject&quot;: &quot;Physics&quot;,
        &quot;Mark&quot;: 90
      }, {
        &quot;Group&quot;: &quot;Arts&quot;,
        &quot;Subject&quot;: &quot;Drawing&quot;,
        &quot;Mark&quot;: 99
      },  {
        &quot;Group&quot;: &quot;Commerce&quot;,
        &quot;Subject&quot;: &quot;Marketing&quot;,
        &quot;Mark&quot;: 99
      }]
    }];
  </code></pre>
  <p>And I want to create a table like this:</p>
  <p><img src="https://i.stack.imgur.com/tzKoY.png" alt="enter image description here" /></p>
  <p>Fixed known value for <code>Performances.Group</code> is: Science, Arts or Commerce But <code>Subject</code> and <code>Mark</code> is always variable. So What I have to do is putting all subject name in left column and then if student has mark for that subject put it in students column. Could any one please help me to solve this problem! Here is Plunker Link : <a href="http://plnkr.co/edit/vvLL00crhwSq4I6pjjUx?p=preview" rel="nofollow noreferrer">http://plnkr.co/edit/vvLL00crhwSq4I6pjjUx?p=preview</a></p>
  <p>Although, I could filter all the performances by Group but then I am confused how do I include all the subject Names in left column and then values accordingly as they are in separate arrays.</p>