title: AngularJS pass variable from custom directive to template
body: <p>I made a custom directive:</p>
  
  <p>js part:</p>
  
  <pre><code>angular.module("myDirectives", []).directive("ngShowbox", function(){
    return {
      restrict: "E",
      scope: {
        title: "="
      },
      template: "&lt;a href='#' ng-click='show($event)'&gt;{{title}}&lt;/a&gt;",
      controller: function($scope, $element){
        $scope.show = function(event){
          // do something...
        }      
      }
    }
  });
  </code></pre>
  
  <p>html part:</p>
  
  <pre><code>&lt;ng-showbox title="whatToPutHere??"&gt;&lt;/ng-showbox&gt;
  </code></pre>
  
  <p>I would like to pass some text from the title attribute,
  then my template will show the text.
  How can I make it?</p>
  
  <p>Thank you very much :)</p>