title: Find route from angularjs routeprovider by name
body: <p>I'm defining my routes like this.</p>
  
  <pre><code>$routeProvider
  .when('/Home', {
       name: 'Main',
       templateUrl: 'Main.html',
       controller: 'MainController',
       controllerAs: 'ctrl'
  })
  .when('/About', {
       name: 'About',
       templateUrl: 'About.html',
       controller: 'AboutController',
       controllerAs: 'ctrl'
  })
  </code></pre>
  
  <p>How can I in a controller find the '/About' URL by querying on the name 'About', when I'm in the Main controller?</p>