$scope.$watch('singleDriver',function(newValue,oldValue){ if(newValue === oldValue){return;} $scope.$broadcast('driverUpdate',newValue); },true);
$scope.$on('driverUpdate',function(d,data){ $scope.singleDriver = $rootScope.singleDriver; });
$scope.$watch('singleDriver',function(newValue,oldValue){ if(newValue === oldValue){return;} $scope.$broadcast('driverUpdate',newValue); },true);
$scope.$on('driverUpdate',function(d,data){ $scope.singleDriver = $rootScope.singleDriver; });