title: Angular js : Unable to create directive
body: <p>I am trying to create directive but my directive function is not getting called.</p>
  
  <p>index.html</p>
  
  <pre><code>&lt;div ng-repeat="que in questions.Cars"&gt;
                               &lt;question-dir&gt;print from direcetive&lt;/question-dir&gt;
  &lt;/div&gt;  
  </code></pre>
  
  <p>ConytrolDirective.js</p>
  
  <pre><code>(function () {
      "use strict";
  
      angular
          .module("autoQuote")
          .directive('questionDir',["questionDir"] );
  
      function questionDir()
      {
          return {
              template : "&lt;h1&gt;Made by a directive!&lt;/h1&gt;"
          };
      }
  
  }());
  </code></pre>