title: AngularJS : date format filter not formatting date
body: <p>I am trying to format date returned in API result set in format MM dd, yyyy but for some reason it is not working. Below is the code I am using, Can someone please tell me what I am missing / doing wrong here? and how to achieve the above required format</p>
  
  <pre><code>          &lt;div&gt;
              &lt;div&gt;
                &lt;p&gt;Date Added:&lt;/p&gt;
                {{memberData.DateJoined | date: 'MM dd, YYYY'}}
              &lt;/div&gt;
            &lt;/div&gt;    
  </code></pre>
  
  <p>also tried it using</p>
  
  <pre><code>          &lt;div&gt;
              &lt;div&gt;
                &lt;p&gt;Date Added:&lt;/p&gt;
                {{memberData.DateJoined | date: 'MM dd, yyyy'}}
              &lt;/div&gt;
            &lt;/div&gt;    
  </code></pre>
  
  <p>Date returned by API is in format:</p>
  
  <pre><code>     DatePosted: "2014-05-15 00:00:00"
  </code></pre>
  
  <p>Not working definition:
  Date displayed as 2014-05-15 00:00:00 while it should be displayed as 05 15, 2014 OR May 15, 2014</p>