title: Scope not updating in link directive on ng-submit
body: <p>I can't get the scope object to update on submit. The submit function is called, but the console shows the object does not update. I have tried most similar problem-solutions I have found.</p>
  
  <p>The directive (inside index.html):</p>
  
  <pre><code>&lt;div d-header-login class="header-login"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>The directive HTML:</p>
  
  <pre><code>&lt;div class="container_header-login"&gt;
      &lt;div data-ng-if="!login.opLogin"&gt;
          &lt;form ng-submit="submit()"&gt;
              &lt;input type="text" ng-model="username" placeholder="username/email" /&gt;
              &lt;input type="text" ng-model="scope.password" placeholder="password" /&gt;
              &lt;br /&gt;
              &lt;input type="submit" class="btn btn-primary" value="Login"/&gt;
          &lt;/form&gt;
          &lt;a href="#"&gt;Register&lt;/a&gt;            
          &lt;a href="#"&gt;Forgot password&lt;/a&gt; 
      &lt;/div&gt;
      &lt;div data-ng-if="login.opLogin"&gt;
          &lt;!--{{login.opLogin}}--&gt;
          Logged in as
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The directive js</p>
  
  <pre><code>var mHeaderLogin = angular.module('app.directives.mHeaderLogin', ['mMain'])// mMain-dependent due to factory call
  .directive('dHeaderLogin', fHeaderLogin);
  function fHeaderLogin() {
      return {
          restrict: 'A',
          //replace: true,
          scope: {
              username: '='
          }, //isolate scope
          templateUrl: 'app/directives/header-Login/header-Login.html',
          controller: function ($scope, simpleFactory) {
              $scope.users = simpleFactory.getUsers();
              $scope.username = "test";
          },
          link: function (scope, element, attrs) {
              scope.login = { opLogin: false };
              scope.submit = function () {
                  console.log(scope.username);
                  console.log("fSubmit");
              }
          }
      }
  }
  </code></pre>
  
  <p>The log will show "test"; not what I wrote in the input box</p>