     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) ->


    return {link:link}

module = angular.module("taigaTaskboard", [])
module.controller("TaskboardController", TaskboardController)
module.directive("tgTaskboard", TaskboardDirective)
module.directive("tgTaskboardTaskrow", TaskboardTaskrowDirective)
module.directive("tgTaskboardUsStatus", UsStatus)

    return {link: link}


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