title: Accessing child scope from parent
body: <p>I'm having difficulties figuring how to access child scope data. 
  I'm using routes and ui-views to create a flow in creating a project, I have the "Wizard" which is the parent, and few more children states, each has different controller.</p>
  
  <p>This is my "Wizard.html" file with ui-view for the children states.</p>
  
  <pre><code>&lt;div class="header"&gt;
      &lt;button ng-click="someFunction()"&gt;Back&lt;/button&gt;
      &lt;button ng-click="createProject()"&gt;Next&lt;/button&gt;
  &lt;/div&gt;
  
  &lt;div class="wizard-children-view" ui-view&gt;&lt;/div&gt;
  
  &lt;div class="footer"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>these are the routes:</p>
  
  <pre><code>.state('wizard', {
      url: '/wizard',
      abstract: true,
      views: {
          'wizard': {
              templateUrl: 'wizard.html',
              controller: 'WizardController'
          }
      }
  })
  .state('wizard.project', {
      url: 'project',
      controller: 'ProjectController',
      templateUrl: 'project.html'
  })
  .state('wizard.aboutus', {
      url: 'aboutus',
      controller: 'AboutUsController',
      templateUrl: 'aboutus.html'
  })
  </code></pre>
  
  <p>In my wizard's header (which is the parent) i have a top bar with "Back" and "Next" action buttons that stays on the screen all the time. 
  I'm trying to use those buttons to access and do some stuff in one of the children. For an example, I want to have the "Next" button call to a function that validates a form inside the child view and creates a new project, but the problem is that the button with <code>ng-click="createProject()"</code> is in the parent scope and all the form's data is in the child scope, so it's undefined.. 
  Can it be done?</p>