diff --git a/bower.json b/bower.json index 7b37994..9c947fe 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "angular-markdown-directive", - "version": "0.3.0", + "version": "0.3.1", "main": "markdown.js", "dependencies": { "angular": "^1.0.8", diff --git a/markdown.js b/markdown.js index 08f2248..c4edea9 100644 --- a/markdown.js +++ b/markdown.js @@ -18,7 +18,7 @@ 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 +33,4 @@ angular.module('btford.markdown', ['ngSanitize']). } } }; - }); + }]);