Remove dependency with specific component in slider directive.