title: AngularJS update ng-init on change
body: <p>Is there a way in which ng-init will get updated when tableCells will change ? I want to use this approach (or similar) so angular won't have to call findCellsByDate two times.</p>
  
  <p>I also tried to change ng-init with ng-bind or ng-model, but bind will show [object Object] and model will throw an error as there isn't an attribution.</p>
  
  <pre><code>&lt;span ng-init='cells = findCellsByDate(tableCells, day)'&gt;
      &lt;div class='text' ng-show='forecastAndActualForCellsAreNotEmpty(cells)'&gt;
          &lt;span ng-bind='getTotalHoursPercentageForCells(cells)'&gt;&lt;/span&gt;
          &lt;span&gt;%&lt;/span&gt;
      &lt;/div&gt;
  &lt;/span&gt;
  </code></pre>