Is there a way to use math functions in AngularJS bindings?
e.g.
The percentage is {{Math.round(100*count/total)}}%
While the accepted answer is right that you can inject Math
to use it in angular, for this particular problem, the more conventional/angular way is the number filter:
The percentage is {{(100*count/total)| number:0}}%
You can read more about the number
filter here: http://docs.angularjs.org/api/ng/filter/number