diff --git a/app/coffee/modules/base.coffee b/app/coffee/modules/base.coffee index 3cbec6dc..39fb32cf 100644 --- a/app/coffee/modules/base.coffee +++ b/app/coffee/modules/base.coffee @@ -21,6 +21,7 @@ taiga = @.taiga groupBy = @.taiga.groupBy +bindOnce = @.taiga.bindOnce module = angular.module("taigaBase", ["taigaLocales"]) @@ -29,17 +30,7 @@ module = angular.module("taigaBase", ["taigaLocales"]) ## Global Page Directive ############################################################################# -class MainTaigaController extends taiga.Controller - @.$inject = ["$scope"] - - constructor: (@scope) -> - @scope.mainSection = "backlog" - - setSectionName: (name) -> - @scope.mainSection = name - - -MainTaigaDirective = ($log, $compile) -> +MainTaigaDirective = ($log, $compile, $rootscope) -> template = _.template("""

Taiga