chore(minErr): replace ngError with minErr