-issuesModule = angular.module('greenmine.directives.issues', [])
+module = angular.module('greenmine.directives.issues', [])
 
-
-gmIssuesSortConstructor = ($parse) -> (scope, elm, attrs) ->
+GmIssuesSortDirective = ($parse) -> (scope, elm, attrs) ->
     element = angular.element(elm)
 
     element.on "click", ".issue-sortable-field", (event) ->

    scope.$watch 'issues', (value) ->
        redrawChart() if value

issuesModule.directive("gmIssuesCreationGraph", gmIssuesCreationGraphConstructor)

        console.log value
        redrawChart() if value

module.directive("gmPendingIssueGraph", GmPendingIssueGraphDirective)

GmYourIssuesGraphDirective = -> (scope, elm, attrs) ->
    element = angular.element(elm)

    redrawChart = () ->
