title: Angularjs not work in socket.io response
body: <p>When i want change something in response socket.io it does not work, but normally works.</p>
  
  <p>for example, the following code when I first blur on the username does not work, but the second time it works.</p>
  
  <pre><code>input#username(name="username", ng-model="username", ng-blur="usernameCheck()")
  input(type="submit", ng-disabled="dSubmit", value="Register")
  
  $scope.dSubmit = true;
  $scope.usernameCheck = function() {
    socket.post('/user/usernameCheck', {username: $scope.username}, function(res) {
      if(res.success) {
        $scope.dSubmit = false;
      } else {
        $scope.dSubmit = true;
      }
    });
  };
  </code></pre>