title: how to get the angular filter returned value in controller scope
body: <p>Is it possible to get the angular filter return value in controller scope. I need to pass the returned value of one filter to another filter. I have a filter defined as follows</p>
  
  <pre><code>     .filter('Filter', Filter)
  function Filter($filter) {
  
      return FilterFn;
  
      function FilterFn(data, weight, waist) {
          var factor1 = weight * 1.082 + 94.42;
          var factor2 = waist * 4.15;
          var leanBodyMass = factor1 - factor2;
          var bodyFatWeight = weight - leanBodyMass;
          var bodyFatResults = bodyFatWeight * 100 / weight;
          // return Params
          if (bodyFatResults === "-Infinity") {
              // $filter('Filter2')(0);
              return 0;
          } else if (parseFloat(bodyFatResults) &lt; 0) {
              //  $filter('Filter2')(2);
              return 2;
          } else {
              //  $filter('Filter2')(bodyFatResults.toFixed(1));
              return bodyFatResults.toFixed(1);
          }
      }
  }
  </code></pre>
  
  <p>I need to get the returned value of this filter in controller scope.</p>