Integrate the slider with angular