title: Angular 'this' not working inside directive controller
body: <p>I have the following code. Why doesn't the <code>vm.name</code> work? Why is the <code>this</code> inside the controller not being detected? Haven't I defined a closed <code>scope</code> for the directive?</p>
  
  <p>What  am I doing wrong?</p>
  
  <pre><code>var mod = angular.module('myApp', []);
  
  mod.directive('myObj', myObject);
  
  function myObject(){
    return {
        restrict: 'E',
        templateUrl: 'my-obj.html',
        scope: {},
        controller: myController
    };
  
    function myController(){
      var vm = this;
  
      vm.name="vfdfbdn";
    }
  }
  </code></pre>