 
 convertNgToDataNg = (str) ->
   str.replace /\sng-/g, ' data-ng-'
+  str.replace /\sbo-/g, ' data-bo-'
 
 convertDataNgToNg = (str) ->
   str.replace /\sdata-ng-/g, ' ng-'
+  str.replace /\sdata-bo-/g, ' bo-'
 
 unescapeReplacements = (str) ->
   str

        """
      )

      # ng-src, ng-href, ng-value
      # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

      # FIXME: this should replace ng-src with src, etc
      .replace(/\s(ng-src|ng-href|ng-value)="([\s\S]*?)"/g, (match, attrName, attrVal) ->
        helpers.logVerbose 'match 4'
        updated = true
        match.replace attrName, attrName.replace 'ng-', ''
      )


      # ng-class, ng-style
      # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

      .replace(/<(\w+)[^>]*\s(ng-class|ng-style)\s*=\s*"([^>"]+)"[\s\S]*?>/, (match, tagName, attrName, attrVal) ->
        # TODO: modify class attributes based on object here

        helpers.logVerbose 'match 8', tagName: tagName, attrName: attrName, attrVal: attrVal

        if typeMatch
          match = match.replace typeMatch, ''
        match = match.replace new RegExp("\\sng-#{type}"), "data-ng-#{type}"
        match = match.replace new RegExp("\\sbo-#{type}"), "data-bo-#{type}"

        match.replace "<#{tagName}", """<#{tagName} #{typeStrOpen} #{typeExpressionStr}" """
      )
