title: Replace value of a $scope
body: <p>I'm using <a href="https://github.com/brandly/angular-youtube-embed" rel="nofollow">angular-youtube-embed</a> to show movie trailers in my Angular application.</p>
  
  <p>I have to set a $scope called <code>theBestVideo</code> with that youtube link value,</p>
  
  <pre><code>$scope.theBestVideo = 'Lm8p5rlrSkY';
  console.log ($scope.theBestVideo)
  </code></pre>
  
  <p>And then I display the trailer in my template like so,</p>
  
  <pre><code>%youtube-video{"video-id" =&gt; "theBestVideo"}
  </code></pre>
  
  <p>The problem here is ofcourse that every movie has the same template, since the value is set in the controller.</p>
  
  <p>I do have the values of other trailers in my database that I also render on the same template as the youtube player,</p>
  
  <pre><code>%ul.trailers
    %li{"ng-repeat" =&gt; "trailer in trailers | filter: { movie_id: movie.movie_id}"}
      {{ trailer.link }}
  </code></pre>
  
  <p>So my question is, can I inject the value of <code>{{ trailer.link }}</code> into the scope '$scope.theBestVideo` in my controller?</p>