title: How to get set object values properly?
body: <p>I'm using just one small ng-controller and I have something like this:</p>
  
  <pre><code>&lt;select ng-model="character" ng-options="ch.name for ch in characters"&gt;&lt;/select&gt;
  
  {{character}} &lt;-- good, even {{character.attr}} works
  
  {{attr}} &lt;-- bad, not updated when select changes*
  
  
  ...function($scope){
  
  $scope.character = characters[0]; &lt;-- good, get/set object as spected
  
  $scope.attr = $scope.character.name; &lt;-- bad, it just sets an initial value*
                                           which is not updated when select does
  
  }
  </code></pre>
  
  <p><code>$scope.attr = character.name, $scope.attr = $scope.character['name']</code>, doesn't work. So functions like this will never work:</p>
  
  <pre><code>$scope.attack_array = function(i){  &lt;-- field or whole object cant be sent **
    let character = characters[i];
    let array..
  }
  
  $scope.attack_array($scope.character.index) &lt;-- how do i get the separated values by each field?
  </code></pre>