title: How to update current values inside an angular.forEach()?
body: <p>I am trying to convert a portion of an object's values from integer values 1 or 0 to boolean values true or false.</p>
  
  <p>The structure is as follows:</p>
  
  <pre><code>angular.forEach(a.b.c, function (options) {
      ...
      angular.forEach(options, function (value, option) {
          if (value == 0) {
              option = false;
          } else {
              option = true;
          }
          console.log(option + " = " + value);  // This shows correct results;
      }
  }
  console.log(a.b.c) // when navigating to the options, the options have not changed from their integer values.
  </code></pre>
  
  <p>What am I missing?</p>