a simple carousel written in Angularjs