Germany to look into all angles in mosque attack case