title: Json string cutsoff after # symbol in angularjs
body: <p>am using AngularJs service to call my MVC controller method and sending parameters along with it. this is my angular service Url and model</p>
  
  <pre><code>var transData = {
      Address: $scope.user.address,
      Comments: $scope.user.comments,
      Password: $scope.password,
      Id: $scope.id
  };`
  </code></pre>
  
  <p><code>'../transaction/UpdateData?transModelData=' + angular.toJson(transData)</code></p>
  
  <p>this is my MVC Action method</p>
  
  <p><code>public void UpdateData(string transModelData = null)</code></p>
  
  <p>My problem is occuring when i use special character <strong>#</strong> in my password field.</p>
  
  <p>Json string is cuts off after the password like below</p>
  
  <p><code>{"Address":"address","Password":"qwerty123</code></p>
  
  <p>but the actual json string should be like </p>
  
  <p><code>{"Address":"address","Password":"qwerty123#","StudentId":"12"}</code></p>
  
  <p>can anyone help me out to overcome this issue, thanks</p>