title: String to integer in AngularJS view
body: <p>I know how to convert a string to an integer in the controller</p>
  
  <pre><code>parseInt( $scope.date)
  </code></pre>
  
  <p>But i have to do this in the view </p>
  
  <pre><code>&lt;span data-ng-show="item.date"&gt;{{ item.date | hbdatetime }}&lt;/span&gt;
  </code></pre>
  
  <p>In the view itself i have to convert the date ( which i am getting as a string ) to an integer so that i can filter with hbdatetime .</p>
  
  <p>I am trying something like this</p>
  
  <pre><code>// &lt;data-ng-show="item.date"&gt;parseInt{{ item.date | hbdatetime }}&lt;/span&gt; 
  </code></pre>
  
  <p>Please help in angular way </p>