title: How to pass a variable to $scope in $routeProvider
body: <p>I need to pass a variable to $scope in $routeProvider. Code is following:</p>
  
  <pre><code>.when('/:zone/edit/:id', {
        templateUrl: 'views/edit.html',
        controller: 'EditSet'
      })
      .when('/articles/edit/:id', {
        templateUrl: 'views/edit-article.html',
        controller: 'EditSet',
        params: {zone: 'articles'}
      })
  </code></pre>
  
  <p>To get param I use <code>$scope.params.zone</code>, which works in first case (:zone) and does not work in second case.</p>
  
  <p>What should I do in this case?</p>