added a jQuery service
injected it into the slider directive
removed an unnecessary jQuery call