Slider directive apply job function