title: How to get more verbose error info in Angular?
body: <p>I get only this error text in Chrome. No any additional info:</p>
  
  <p><img src="https://i.stack.imgur.com/4VmpM.png" alt="enter image description here"></p>
  
  <p>What does it mean? What happened? Is there a way to tell Angular or Chrome to show more verbose error information?</p>
  
  <p>Here is my <strong>app.js</strong> file. Nothing else is included:</p>
  
  <pre><code>'use strict';
  
  
  // Declare app level module which depends on filters, and services
  
  var vsApp = angular.module('vsApp', [
      'ngRoute',
      'vsApp.filters',
      'vsApp.services',
      'vsApp.directives',
      'vsApp.controllers'
  ]);
  
  vsApp.config(["$routeProvider"], function($routeProvider) {
      $routeProvider.when('/registration', {templateUrl: 'partials/reg.html', controller: 'regCtrl'});
      $routeProvider.when('/login', {templateUrl: 'partials/login.html', controller: 'loginCtrl'});
      $routeProvider.otherwise({redirectTo: '/'});
  });
  
  vsApp.controller("regCtrl", function() {});
  vsApp.controller("loginCtrl", function() {});
  </code></pre>
  
  <p><code>ng-app</code> attribute inclusion:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html ng-app="vsApp"&gt;
  </code></pre>
  
  <p>My <code>&lt;head&gt;</code> tag:</p>
  
  <pre><code>&lt;script id="angularScript" src="/bower_components/angular/angular.js"&gt;&lt;/script&gt;
  &lt;script src="/bower_components/angular-route/angular-route.js"&gt;&lt;/script&gt;
  &lt;script src="/assets/js/app.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p><strong>UPD:</strong></p>
  
  <p>Protractor brought more info:</p>
  
  <pre><code>   Message:
       UnknownError: unknown error: [$injector:modulerr] Failed to instantiate module vsApp due to:
  Error: [ng:areq] Argument 'fn' is not a function, got string
  http://errors.angularjs.org/1.3.0-build.2795+sha.222d473/ng/areq?p0=fn&amp;p1=not%20a%20function%2C%20got%20string
      at http://localhost:3000/bower_components/angular/angular.js:78:12
      at assertArg (http://localhost:3000/bower_components/angular/angular.js:1583:11)
      at assertArgFn (http://localhost:3000/bower_components/angular/angular.js:1593:3)
      at annotate (http://localhost:3000/bower_components/angular/angular.js:3318:5)
      at Object.invoke (http://localhost:3000/bower_components/angular/angular.js:3986:21)
      at runInvokeQueue (http://localhost:3000/bower_components/angular/angular.js:3915:35)
      at http://localhost:3000/bower_components/angular/angular.js:3924:11
      at Array.forEach (native)
      at forEach (http://localhost:3000/bower_components/angular/angular.js:320:11)
      at loadModules (http://localhost:3000/bower_components/angular/angular.js:3905:5)
  </code></pre>