Angular error, possibly caused by a typo?