fix(ui-slider): externalize template