             navigationBarService.disableHeader()
         else
             navigationBarService.enableHeader()
+
+pluginsWithModule = _.filter(@.taigaContribPlugins, (plugin) -> plugin.module)
 
 modules = [
     # Main Global Modules

    "pascalprecht.translate",
    "infinite-scroll",
    "tgRepeat"
].concat(_.map(@.taigaContribPlugins, (plugin) -> plugin.module))

# Main module definition
module = angular.module("taiga", modules)


    $translateProvider.fallbackLanguage(preferedLangCode)

    # decoratos
    decorators = _.where(@.taigaContribPlugins, {"type": "decorator"})

    _.each decorators, (decorator) ->
        $provide.decorator decorator.provider, decorator.decorator

i18nInit = (lang, $translate) ->
    # i18n - moment.js
    moment.locale(lang)
