Encapsulating the slider directive. providing a simple option to set the image options.