             tag.selected = false
         else
             tag.selected = true
-
         filterUsBySelectedTags()
 
     # Signal Handlign



# Backlog milestones controller.

@BacklogMilestonesController = ($scope, $rootScope, rs) ->
    # Local scope variables
    $scope.sprintFormOpened = false

    $scope.$on "milestones:loaded", (ctx, data) ->
        if data.length > 0
            $rootScope.sprintId = data[0].id

@BacklogController.$inject = ['$scope', '$rootScope', '$routeParams', 'resource']

