 
 
 module = angular.module('taiga.directives.wiki', []).run ['$routeParams', '$rootScope', wikiInit ]
-module.directive('gmMarkitup', ["$rootScope", "$parse", "$i18next", "$sanitize", "$location", gmMarkitupConstructor])
+module.directive('gmMarkitup', ["$rootScope", "$parse", "$i18next", "$sanitize", "$location", "resource", gmMarkitupConstructor])
 module.directive("gmRenderMarkdown", ["$rootScope", "$parse", "$sanitize", GmRenderMarkdownDirective])

                return "$1:#{value}: "
            maxCount: 5
        }
        element.textcomplete([emojiStrategy])

        element.markItUp(markdownSettings)


        emojiStrategy = {
            match: /(^|\s):(\w*)$/,
            search: (term, callback) ->
                regexp = new RegExp('^' + term)
                callback(
                    (key.substring(5) for key in _.keys($.emoticons.list) when regexp.test(key.substring(5)))
