refactoring koppeling cow<>angular