title: Angular ngmodel not updating $scope in firefox/https only
body: <p>I have a login form that uses <code>ng-model</code> to pass the data to the controller. When the <code>ng-submit</code> is called, I pass this data to the server to authenticate the user.</p>
  
  <p>However, in Firefox only, and only on our live (https) server, the model values are never updated. Using <code>console.log($scope.loginform)</code> simply prints the default values:</p>
  
  <p><code>{ username="", password=""}</code></p>
  
  <p>In development (http), and when using Chrome, it properly updates them with the entered values:</p>
  
  <p><code>{ username="kermit", password="noteasybeinggreen"}</code></p>
  
  <p>Here's my form, in <code>jade</code> format</p>
  
  <pre><code>form(method='post',ng-submit='login()')
      ol
          li
              label(class='icon-user')
              input(type='text',name='username',ng-model='loginform.username',placeholder='Username')
          li
              label(class='icon-key')
              input(type='password',name='password',ng-model='loginform.password',placeholder='Password',class='pass')
          li
              input(type='submit',class='pressable',value='Login')
  </code></pre>
  
  <p>And my controller:</p>
  
  <pre><code>.controller('LoginController', ['$scope','$http','$stateParams',function($scope,$http,$stateParams) {
      $scope.loginform = {
          username: '',
          password: ''
      };
  
      $scope.login = function() {
          console.log( 'login called: ', $scope.loginform );
          $http.post('/login', $scope.loginform).success(function(resp, status, headers, config) {
              // stuff
          })
          .error(function(resp, status, headers, config){
              // stuff
          });
      };
  }]);
  </code></pre>
  
  <p>Is there something I'm missing, doing wrong, etc? I can't understand why it's only Firefox.</p>
  
  <p>This page is currently live at <a href="https://pste.me/#/login" rel="nofollow">https://pste.me/#/login</a></p>