Refactoring Carousel to use isolate scope