class window.NonContestCtrl extends HomeCtrl
  constructor: (@$scope, @$rootScope, @$http, @$state, @$injector, @NonContestBoards, @Dock, @Analytics, @Constants, @MixPanel) ->
    super(@$scope, @$rootScope, @$http, @$state, @$injector, @NonContestBoards, @Dock, @Analytics, @Constants, @MixPanel)

  getBoards: =>
    if !@Dock.data.boardList
      @NonContestBoards.query(@onGetBoards, @onGetBoardsError)
    else
      console.log "got boards already" if DEBUG
      @progress()


NonContestCtrl.$inject = ["$scope", "$rootScope", "$http", "$state", "$injector", "NonContestBoards", "Dock", "Analytics", "Constants", "MixPanel"]

angular.module("shuttlerockApp").controller("NonContestCtrl", NonContestCtrl)