Whenever AngularJS throws an exception, if you see the error backtrace on the JS dev console, you can see that the first line contains a hyperlink. Clicking this link will take you to a page in AngularJS docs which contains a detailed error description and tips on how to fix the error.