preparing for collection-repeat ionic directive