Typo in angular error controller