I have a growing angular application. From time to time, I mess things up and get an error of the type:

```
[$injector:modulerr] Failed to instantiate module App due to:

```

It is often very difficult to find the error based on the error message, especially if there are many files with various controllers etc. 

Is there a way to debug these errors in either Chrome or Firefox ?