This is an AngularJS directive that replicates jQueryUI-spinner's work.