Count to {{countTo}} from {{countFrom}} over 1 seconds using AngularJS "{{filter}}" filter
Example directive code (number)
<h1 ng-count-to="{{model.countTo}}" count-from="{{model.countFrom}}" filter="number" duration="4" "></h1>
Count to {{countTo}} from {{countFrom}} over 4 seconds using AngularJS "currency" filter
Example directive code (currency)
<h1 ng-count-to="{{model.countTo}}" count-from="{{model.countFrom}}" filter="currency" duration="4" params="$" "></h1>