Data not saved in the variable?
<p>I have this code</p>

<pre><code>$scope.setContent = function (data) {
        if ($scope.unfiltered_tree == null) {
            $scope.unfiltered_tree = data;
        }
   }
</code></pre>

<p>the data saved in the unfiltered_tree for the first time,and when new data comes it's not saved.</p>

<p>Any help on that?</p>