binding to slider directive