Update slider.directive.js