title: SyntaxError: Unexpected token V
body: <p>I know this is a commonly asked question but I need to know theory wise, why this is happening? </p>
  
  <p>I am trying to parse two encrypted values to my service.</p>
  
  <p><strong>Javascript</strong></p>
  
  <pre><code>      var encryptedlogin = CryptoJS.AES.encrypt(CryptoJS.enc.Utf8.parse(Email), key,  
                  {  
                      keySize: 128 / 8,  
                      iv: iv,  
                      mode: CryptoJS.mode.CBC,  
                      padding: CryptoJS.pad.Pkcs7  
                  });  
  
  
                  var encryptedpassword = CryptoJS.AES.encrypt(CryptoJS.enc.Utf8.parse(PasswordTwo), key,  
                  {  
                      keySize: 128 / 8,  
                      iv: iv,  
                      mode: CryptoJS.mode.CBC,  
                      padding: CryptoJS.pad.Pkcs7  
                  });  
  
  
               var c = String(encryptedlogin);
               var d = String(encryptedpassword); 
  
               var json = JSON.parse(c);
               var json1 = JSON.parse(d);
  
              $http.get("http://localhost:53101/TruckService.svc/validateUserA/" + json + '|' + json1 )
             .success(function(data) {});
             .error(function(data) {});
  </code></pre>