title: updating scope variables both in parent and child controller
body: <p>Consider the html is </p>
  
  <pre><code>&lt;div ng-controller="parentCtrl"&gt;
  //some content
     &lt;div ng-controller="childCtrl"&gt;
        &lt;div ng-show = "mycommonscopevar"&gt;show my message &lt;/div&gt;
        //some content
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>in my parent controller, i am setting <strong>"mycommonscopevar"</strong> as false initially and then in some function i am setting <strong>mycommonscopevar</strong> as true. When i click on a tab , my child controller will get called , now i need to set that <strong>mycommonscopevar</strong> as false again. I mean switching from one controller to another the scope variable has to be reset. Is this possible? Could anyone help me on this. Thanks in advance.</p>