       pollForTickets()
       pollForTutors()
       pollForStats()
+    $scope.pollNow = ->
+      pollFunction()
     # Call poll at least once to start now
-    pollFunction()
+    $scope.pollNow()
     pollInterval = $interval pollFunction, interval * 1000 # milliseconds
 
   #

      roleWhitelist: ['Student', 'Tutor', 'Convenor', 'Admin']
  headerServiceProvider.state 'helpdesk', helpdeskDashboardState
)
.controller("HelpdeskDashboardCtrl", ($scope, $rootScope, $interval, $state, HelpdeskStats, HelpdeskTicket, HelpdeskSession, HelpdeskSessionModal) ->
  # Internal poll interval
  pollInterval = null
  # How long the duration is between each poll, in seconds

    $scope.helpdeskOpen = not $scope.helpdeskClosed

  #
  # If clock on event, refresh immediately
  #
  $rootScope.$on 'CurrentWorkingSession', (event, session) ->
    $scope.pollNow()

  #
  # Begins polling for stats
  #
  startPolling = (interval = intervalDuration) ->
