title: Can't access scope variable in directive (AngularJS)
body: <p>I would like to change update a directive each time a value is updated into a controller.</p>
  
  <p>Unfortunately I don't manage to access the scope value from the directive.</p>
  
  <p>Here's the code of the directive :</p>
  
  <pre><code>myApp.directive( 'raphael', function ($compile, $document, $timeout) {
    return {
      link: function ( scope, element, attrs ) {
  
  
      var paper = new Raphael(element[0], 600, 600);
  // I need it right here !
  </code></pre>
  
  <p>I've tried with $ watch:</p>
  
  <pre><code>scope: {variable: '='},
  link: function ( scope, element, attrs ) {
    scope.$watch(variable, function(){
      console.log(variable);
  </code></pre>
  
  <p>but it's not working    </p>
  
  <p>Then, how could I do to "update" the whole directive each time the variable is updated in the controller? </p>
  
  <p>thanks!</p>