         require: "ngModel"
     }
 
-module.directive("tgIssuePriorityButton", ["$rootScope", "$tgRepo", IssuePriorityButtonDirective])
+module.directive("tgIssuePriorityButton", ["$rootScope", "$tgRepo", "$tgConfirm", IssuePriorityButtonDirective])
 
 
 #############################################################################

## Issue status button directive
#############################################################################

IssueStatusButtonDirective = ($rootScope, $repo) ->
    # Display the status of Issue and you can edit it.
    #
    # Example:

        require: "ngModel"
    }

module.directive("tgIssueStatusButton", ["$rootScope", "$tgRepo", "$tgConfirm", IssueStatusButtonDirective])

#############################################################################
## Issue type button directive
#############################################################################

IssueTypeButtonDirective = ($rootScope, $repo, $confirm) ->
    # Display the type of Issue and you can edit it.
    #
    # Example:
