title: Angular's "controllerAs" not working in routeProvider
body: <p>I am trying to use the <code>controllerAs</code> property on a <code>$routeProvider</code> route without any success.</p>
  
  <p>Here is the sample code:</p>
  
  <pre><code>var app = angular.module('app', ['ngRoute']);
  
  app.config(['$routeProvider', '$locationProvider',
    function($routeProvider) {
    $routeProvider
      .when('/', {
        template:'&lt;div&gt;This should be visible:{{ ctrl.one }}&lt;/div&gt;&lt;div&gt;This should not:{{ one }}&lt;/div&gt;',
        controller: 'Ctrl',
        controllerAs: 'ctrl',
      });
  }]);
  
  app.controller('Ctrl', function($scope) {
    $scope.one = 'actual';
  });
  </code></pre>
  
  <p>Not sure if this is a bug or I am doing something wrong, <a href="http://plnkr.co/edit/2A6xvFWlz8YzX0S0RIzY?p=preview" rel="noreferrer">This is a plnkr that demonstrates the issue</a></p>