title: Neither $scope.$apply and $scope.$digest updates the objects
body: <p>I'm sing the following <code>ng-click</code> function to create <code>groups</code>:</p>
  
  <pre><code>$scope.createGroup = function() {
    AV.Cloud.run('createUserGroup', {
  groupName: $scope.initName
    }, {
  success: function(result) {
    var data = JSON.parse(result);
    var json = {
      id: data.objectId,
      name: data.name,
      users: 0,
      createdAt: data.createdAt
    }
    $scope.groups.push(json);
    $scope.initName = "";
    $scope.$digest();
  },
  error: function(error) {
    alert(error.message);
  }
    });
  </code></pre>
  
  <p>But then when I click the link to go to the group (which is in the same page) the group doesn't appear. I have to refresh the browser in order to make it appear. I tried <code>$scope.$digest()</code> and <code>$scope.$apply()</code> but they didn't solve the problem, only <code>location.reload();</code> does.</p>
  
  <p>Does AngularJS have another function to make an update or reload that might solve this problem?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>This is how I'm displaying the group:</p>
  
  <pre><code>&lt;div id="group-new" class="col-md-6"&gt;
    &lt;h2&gt;{{group.name}}&lt;/h2&gt;
  &lt;/div&gt;
  </code></pre>