AngularJS directive for convenient measuring ranges.