fix🔁 fix ending comment tag

This commit is contained in:
Igor Minar 2011-06-23 15:13:15 -07:00
parent b5a510a343
commit f3323ec18e

View file

@ -1104,7 +1104,7 @@ angularWidget('a', function() {
*/
angularWidget('@ng:repeat', function(expression, element){
element.removeAttr('ng:repeat');
element.replaceWith(jqLite('<!-- ng:repeat: ' + expression + ' --!>'));
element.replaceWith(jqLite('<!-- ng:repeat: ' + expression + ' -->'));
var linker = this.compile(element);
return function(iterStartElement){
var match = expression.match(/^\s*(.+)\s+in\s+(.*)\s*$/),