Help needed: How can I remove decimals, add $ symbol in an Angular controller? Any ideas?
$scope.data = [{
"key": " Logo",
"color": "#004400",
"values": [
[0, parseInt($scope.myappslogo)]
]
}, {
"key": "Sell",
"color": "#00cc00",
"values": [
[0, parseInt($scope.myapps.sell)]].$filter('currency')
}, {
"key": "Total",
"color": "#009900",
"values": [
[0, parseInt($scope.myapps.amount)] | currency
]
}
];