angular-eha.counter
Counting directive
Usage
Use the bind
attribute to bind on the current count:
<eha-counter
bind="myCtrl.count"
></eha-counter>
Optionally, pass in a path to a custom template:
<eha-counter
bind="myCtrl.count"
template-url="/path/to/tpl.html"
></eha-counter>
The default template assumes a mobile UI and depends on Bootstrap and
font-awesome.
Installation
Install with npm:
npm install --save angular-eha.counter
Or alternatively bower:
bower install --save angular-eha.counter
Then simply add eha.counter
as a dependency somewhere in your project
that makes sense and you're good to go.
Contributors
License
Released under the Apache 2.0 License.