restore ngMethod