working on repository angular functions