         if close
           """
             {{#forEach #{repeatExp}}}
-              #{close.before.replace /\sng-repeat/, ' data-ng-repeat'}
+              #{close.before.replace /\s(bo|ng)-repeat/, ' data-$1-repeat'}
             {{/forEach}}
             #{close.after}
           """

            helpers.logVerbose 'body', body
            prefix = 'expression "'
            suffix = '"'
          escapeDoubleBraces """<span data-ng-bind="#{body}">{{#{prefix}#{body}#{suffix}}}</span>"""
        else
          escapeDoubleBraces match
      )

      return map if depth < 0
    else
      depth++
      repeat = tag.match /\s(bo|ng)-repeat="(.*?)"/g
      continue unless repeat
      repeatText = RegExp.$1
      split = repeatText.split ' in '
