change ngModel to text

This commit is contained in:
Negue
2015-01-01 20:31:21 +01:00
parent f900e6451c
commit 571cc9ed1d
+1 -1
View File
@@ -92,7 +92,7 @@
var removeWatch = !!scope.$eval(attrs.removeWatch);
var useTimeout = !!scope.$eval(attrs.useTimeout);
var doRemoveWatch = scope.$watch(attrs.ngModel, function(value, oldValue) {
var doRemoveWatch = scope.$watch(attrs.text, function(value, oldValue) {
var replaceMarkdown = function(){
var markdown = value;