Angular loop break fix