title: Is there a way to pass variables to a controller from ui.router?
body: <p>I have a page structured with some nested views, using <code>ui.router</code> and I would like to pass some data from the parent controller to the child controller, without injecting useless services into the child controller.
  <br><br>
  In my mind, something like these would be perfect</p>
  
  <pre><code>        state('home', {
              url: "/home",
              templateUrl: "parts/home.html",
              controller: "FatherController"
          }).
          state('home.child', {
              url: "/child",
              templateUrl: "parts/home/child.html",
              controller: "ChildController",
              params: {$scope.data = $rootScope.someData}
          })
  </code></pre>
  
  <p><br>Do you happen to know if there is a way to do this?</p>