Fixed cell selection. Fixed ui-if bug.

Added $scope.$on for sending digest requests.