a generic slider/carousel for angularjs