title: AngularJs filter "Error while interpolating"
body: <p>Inside my AngularJs filter I have the following:</p>
  
  <pre><code> return function(list){
        return list;
   }
  </code></pre>
  
  <p>That works fine</p>
  
  <p>However, the following throws an error of "Error while interpolating {{ list | filterName}}...TypeError: list is undefined"</p>
  
  <pre><code> return function(list){
        return list.length;
   }
  </code></pre>
  
  <p>What is happening that is causing list to be undefined for a brief moment when this function runs, or what can I do to fix this issue. The value still gets returned, I just have a nasty error in console.</p>