title: How to format date without using ng-bind in angularjs?
body: <p>I want to display date in <code>dd-mm-yyyy</code> format my <code>angualarjs</code> code is :</p>
  
  <pre><code>var tabledata = [];
  tabledata.push('&lt;td class="myclass"&gt;' + value[1][0] + '&lt;/td&gt;')
  </code></pre>
  
  <p>I tried using below code :</p>
  
  <pre><code>tabledata.push('&lt;td class="myclass" ng-bind="date:'+'"dd-mm-yyyy"'+"&gt;+value[1][0]"+"&lt;/td&gt;")
  </code></pre>
  
  <p>This is not working. Showing the below in html:</p>
  
  <pre><code>&lt;td class="myclass" ng-bind="date:" dd-mm-yyyy"=""&gt;+value[1][0]&lt;/td&gt;)
  </code></pre>
  
  <p>Is there any alternative to achieve this?.</p>