Guest User

Untitled

a guest
Oct 19th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. $rootScope.test = false;
  2. $rootScope.latest = timeSeries.latest;
  3. if ($rootScope.latest == true){
  4. $rootScope.test = true;
  5. console.log($rootScope.test);
  6. } // everything is good here, I am getting true in console here.
  7.  
  8. cellEditableCondition: function($rootScope){
  9. return $rootScope.test
  10. },
  11.  
  12. enableCellEdit: $rootScope.test;
Add Comment
Please, Sign In to add comment