As from the documentation, we can call a filter such as a date like this:
{{ myDateInScope | date: 'yyyy-MM-dd' }}
Here date is a filter that takes one argument.
What is the syntax to call filters with more parameters both from templates and from JavaScript code?