title: Inject variable from the views to my angular controller?
body: <p>I'm trying to create a website with articles. I have a page that displays a list of all the articles, and I try to do one that displays the detail of an article. I use angular.js to get the json of my datas. I don't have any problem to get the list of my articles since I only need to do : </p>
  
  <pre><code>function ArticleListCtrl($scope, $http) {
      $http.get('/articles/?format=json').success(function(data) {
          $scope.articles = data;
      });
  }
  </code></pre>
  
  <p>But now I only want to access for example the article with id 4. How do I do that ? Is there a way to inject the primary key entered in the url into the javascript ? I'm new to angular, and I'm pretty sure there is an easy way!</p>