I have this structure in a controller in angularjs:
$scope.modelInfo = {"key1":value1, "key2": value2,.....};
In the view:
<tr ng-repeat="(key,value) in modelInfo">
<td width="60%">{{key}}</td>
<td>{{value}}</td>
</tr>
I need if typeof value is number, print value with angular filter, something like:
{{value | number : 4}}