A slide-show directive in AngularJS