title: How to Convert 2 Arrays to JSON using AngularJS
body: <p>I have the following 2 integer arrays along with a denied reason:</p>
  
  <pre><code>var approvedItems = [2051, 2567];
      var deniedItems = [2053, 2569];
  string deniedReason = "Naughty";
  </code></pre>
  
  <p>I want to create the following JSON:</p>
  
  <pre><code>{
      "Responses": [{
          "ResponseID": 2051,
          "IsApprove": true
      },
      {
          "ResponseID": 2567,
          "IsApprove": true
      },
      {
          "ResponseID": 2053,
          "IsApprove": false
      },
      {
          "ResponseID": 2569,
          "IsApprove": false
      }],
      "Reason": "Naughty"
  }
  </code></pre>
  
  <p>How can I do that using angular/javascript?</p>