title: Passing data from one route view to another
body: <p>I want to pass some values from one view to another in Angularjs using ui-Router.<br>
  I don't want to use $rootScope to save data or create a new services ( as I have many views that pass small bits of data so creating new jsfile for few lines code is not fun). A super-minified example of what I want to do is:</p>
  
  <p><strong>Controller of View 1</strong><br>
  <code>$scope.goodFood = 10
   $scope.badFood = 2</code></p>
  
  <p><strong>Controller of View 2</strong><br>
  <code>$scope.results = 10 - 2 (from view 1's scope)</code></p>
  
  <p>Is there any quick way to do these kinds of small operations ? </p>