 module.directive("tgGmBacklogGraph", GmBacklogGraphDirective)
 
 
-module.controller("BacklogController", [
-    "$scope",
-    "$rootScope",
-    "$tgRepo",
-    "$tgConfirm",
-    "$tgResources",
-    "$routeParams",
-    "$q",
-    BacklogController
-])

bindOnce = @.taiga.bindOnce
groupBy = @.taiga.groupBy


class BacklogController extends mixOf(taiga.Controller, taiga.PageMixin)
    constructor: (@scope, @rootscope, @repo, @confirm, @rs, @params, @q) ->
        _.bindAll(@)


    return {link: link}


module.directive("tgBacklog", ["$tgRepo", BacklogDirective])
module.directive("tgBacklogSprint", ["$tgRepo", BacklogSprintDirective])
module.directive("tgUsPoints", ["$tgRepo", UsPointsDirective])
