title: How do I call an Angular.js filter with multiple arguments?
body: <p>As from the <a href="http://docs.angularjs.org/api/ng.$filter">documentation</a>, we can call a filter such as <a href="http://docs.angularjs.org/api/ng.filter:date">date</a> like this:</p>
  
  <pre><code>{{ myDateInScope | date: 'yyyy-MM-dd' }}
  </code></pre>
  
  <p>Here date is a filter that takes one argument.</p>
  
  <p>What is the syntax to call filters with more parameters both from templates and from JavaScript code?</p>