diff --git a/markdown.js b/markdown.js index 08f2248..6f50526 100644 --- a/markdown.js +++ b/markdown.js @@ -18,7 +18,8 @@ angular.module('btford.markdown', ['ngSanitize']). } }; }). - directive('btfMarkdown', function ($sanitize, markdownConverter) { + directive('btfMarkdown', ['$sanitize', 'markdownConverter', + function ($sanitize, markdownConverter) { return { restrict: 'AE', link: function (scope, element, attrs) { @@ -33,4 +34,4 @@ angular.module('btford.markdown', ['ngSanitize']). } } }; - }); + }]);