 
 taiga = @.taiga
 mixOf = @.taiga.mixOf
+
+module = angular.module("taigaTaskboard", [])
+
+#############################################################################
+## Taskboard Controller
+#############################################################################
 
 class TaskboardController extends mixOf(taiga.Controller, taiga.PageMixin)
     @.$inject = [

    return {link: link}


UsStatus = ->
    link = ($scope, $el, $attrs) ->
        $scope.$watch "#{$attrs.tgTaskboardUsStatus}.status", (status_id) ->
            if status_id is undefined

    return {link: link}


# TODO: the name of this directive should be changet
# to more apropiate, like: TaskboardRowsizeFixer
TaskboardTaskrowDirective = ->
    link = ($scope, $el, $attrs) ->
        taiga.bindOnce $scope, "taskStatusList", (statuses) ->
