title: Set an AngularJS date filter format to be used by all references to the date filter?
body: <p>Rather that having to define a custom format for each call to the <code>date</code> filter, is there a way to globally define a default format (other than <code>'medium'</code>)?</p>
  
  <p>I would like to have the format set in one file rather than all over the place in my code (the date format may end up being changed in the future and a modification in one file would be much nicer than having to make changes in many files).</p>
  
  <p>This is what I am doing now (defining date format each time):</p>
  
  <pre><code>{{systemTime | date:'dd MMMM @ HH:mm:ss'}}
  {{modifiedTime | date:'dd MMMM @ HH:mm:ss'}}
  {{getShippedTime() | date:'dd MMMM @ HH:mm:ss'}}
     etc.
  </code></pre>
  
  <p>I was thinking of creating a custom filter (let's call it <code>myDate</code>), which would act as a wrapper and then pass off the date string to the Angular <code>date</code> filter with my custom format, so then my code could just look like this:</p>
  
  <pre><code>{{systemTime | myDate}}
  {{modifiedTime | myDate}}
  {{getShippedTime() | myDate}}
     etc.
  </code></pre>
  
  <p>However, I can't figure out how to make the <code>myDate</code> filter point to the Angular <code>date</code> filter.</p>
  
  <p>Thanks for your help.</p>