Animates a numerical value by counting to it - for Angular
Improve performance by running CountUp outside the zone. Thanks to @starofall !
Fixed a bug where the animation smoothing for values greater than 999 resulted in an incorrect end value
Rewritten as Angular app. Published package reflects dist folder. Version updated to 6 to indicate compatibility with Angular 6. Fixed bug where counting down could count up where difference > 999.
Re-packaged with ng-packagr, working in Angular 4