Cannot change the variable in Angular js, why?
<p>can you help please.
I have found this example in Fiddle. <a href="http://jsfiddle.net/terebentina/9mFpp/" rel="nofollow">http://jsfiddle.net/terebentina/9mFpp/</a></p>

<p>My question, why in Angular(in this example)</p>

<pre><code>$scope.widget = {title: 'abc'}; // works very well and ...
$scope.widget.title = 'abc'; // doesn't work
</code></pre>

<p>This is property of an object in Javascript(widget.title). I always thought - we can set it anytime? where I am wrong?</p>