Fixed the angular repeat so that it is event in events