working on angular functions for repositories