 
 module = angular.module("taigaRelatedTasks", [])
 
+
 RelatedTaskRowDirective = ($repo, $compile, $confirm, $rootscope, $loading, $template, $translate) ->
     templateView = $template.get("task/related-task-row.html", true)
     templateEdit = $template.get("task/related-task-row-edit.html", true)

            promise = $repo.save(task)
            promise.then =>
                currentLoading.finish()
                $confirm.notify("success")
                $rootscope.$broadcast("related-tasks:update")

            promise.then null, =>

                $analytics.trackEvent("task", "create", "create task on userstory", 1)
                currentLoading.finish()
                $scope.$emit("related-tasks:add")

            promise.then null, ->
                $el.find('input').val(task.subject)
