implemented angular slider directive