Time Slider AngularJS Directive