Seperates angular file into several files