convert string to Number in angularjs
<p>I am showing an array which contains JSON and am directly showing this with HTML, here you can find <code>elem.fc + elem.cpc</code>. It's giving NaN as an output.</p>

<p>Here is my HTML:</p>

<pre><code>&lt;tr ng-show="table.table1loaded" ng-repeat="elem in filteredcampaignslist" ng-init="initializepopover()"&gt;
&lt;td ng-show="app.ostype=='iOS'"&gt;&lt;div class="text-center"&gt;{{elem.fc+elem.cpc}}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
</code></pre>