title: filter records with filterexpression angularjs without ng-repeat
body: <p>Can i use filter filterexpression without ng-repeat in angularjs.
      </p>
  
  <pre><code>    &lt;li&gt;&lt;input ng-model="query" placeholder="search on players" /&gt; &amp;nbsp;&lt;input ng-model="q" placeholder="search on teams" /&gt;&lt;/li&gt;
      &lt;li ng-repeat="(nomeTeam, squadre) in listaSquadre" &gt;
  
          &lt;div ng-init="sq = squadre|filter:{nome:query,team:q}|orderBy:['pos','nome']" class="1c"&gt;
              &lt;pre&gt;{{sq}}&lt;/pre&gt;
          &lt;strong ng-show="sq.length &gt; 0"&gt;{{nomeTeam}}&lt;/strong&gt;
          &lt;ul&gt;
              &lt;li ng-repeat="giocatore in sq" &gt;{{giocatore.nome}} - {{giocatore.Role}} - 
                  &lt;span  ng-switch="{{giocatore.pos}}"&gt;
                      &lt;span ng-switch-when="1"&gt;PF&lt;/span&gt;
                      &lt;span ng-switch-when="2"&gt;PA&lt;/span&gt;
                  &lt;/span&gt;
  
              &lt;/li&gt;
          &lt;/ul&gt;
          &lt;/div&gt;
      &lt;/li&gt;
  
  &lt;/ul&gt;
  </code></pre>
  
  <p>The above code not filtering data. I want to print the Team name, it is external to the ng-repeat, after search.If  serach return data, i want to print the team name, else no.How i can i achive this with angularjs.</p>