       # ng-class, ng-style, bo-class, bo-style
       # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
-      .replace(/<(\w+)[^>]*\s((?:ng|bo)-class|(?:ng|bo)-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
-        updated = true
-        type = attrName.substr 3 # 'class' or 'style'
-        typeMatch = match.match new RegExp "\\s#{type}=\"([\\s\\S]*?)\""
-        typeStr = typeMatch and typeMatch[0].substr(1) or "#{type}=\"\""
-        typeStrOpen = typeStr.substr 0, typeStr.length - 1
-        typeExpressionStr = """{{#{type}Expression "#{attrVal}"}}"""
-        if typeMatch
-          match = match.replace typeMatch, ''
-        match = match.replace new RegExp("\\s(ng|bo)-#{type}"), "data-$1-#{type}"
-
-        match.replace "<#{tagName}", """<#{tagName} #{typeStrOpen} #{typeExpressionStr}" """
-      )
-
-      # click-action
-      # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-      # TODO: ng-click only on anchors
-      .replace(/<(\w+)[^>]*(\sclick-action\s*=\s*)"([^>"]+)"[\s\S]*/, (match, tagName, attrName, attrVal) ->
-        helpers.logVerbose 'match 7', attrName: attrName, attrVal: attrVal
-        updated = true
-        hrefStr = """href="{{urlPath}}?action=#{encodeURIComponent attrVal}" """
-        anchorStr = escapeDoubleBraces """<a #{hrefStr} data-ng-#{htmlEscapeCurlyBraces hrefStr}"""
-
-        index = interpolated.indexOf match
-        beforeStr = interpolated.substr 0, index
-        refs = getRefNames beforeStr
-        # FIXME: will break for things like 'product' and 'products'
-        for key, value of refs
-          # E.g. ng-click="activeProduct = product" -> ng-click="activeProduct = products[{{@activeProductIndex}}]"
-          attrVal = attrVal.replace key, "#{value}[{{@#{key}Index}}]"
-
-        if tagName is 'a'
-          # TODO: preserve other url query params - keep a hash in data and add to url
-          match.replace("<a", anchorStr).replace attrName, escapeBasicAttribute attrName
-        else
-          close = getCloseTag match
-          "#{anchorStr}>\n#{close.before.replace attrName, escapeBasicAttribute attrName}\n</a>\n#{close.after}"
-      )
+      # TODO: need to do this in a way that does not duplicate class and style attributes
+      #
+      # .replace(/<(\w+)[^>]*\s((?:ng|bo)-class|(?:ng|bo)-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
+      #   updated = true
+      #   type = attrName.substr 3 # 'class' or 'style'
+      #   typeMatch = match.match new RegExp "\\s#{type}=\"([\\s\\S]*?)\""
+      #   typeStr = typeMatch and typeMatch[0].substr(1) or "#{type}=\"\""
+      #   typeStrOpen = typeStr.substr 0, typeStr.length - 1
+      #   typeExpressionStr = """{{#{type}Expression "#{attrVal}"}}"""
+      #   if typeMatch
+      #     match = match.replace typeMatch, ''
+      #   match = match.replace new RegExp("\\s(ng|bo)-#{type}"), "data-$1-#{type}"
+      #
+      #   match.replace "<#{tagName}", """<#{tagName} #{typeStrOpen} #{typeExpressionStr}" """
+      # )
+
 
       # attr="{{interpolation}}"
       # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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

        helpers.logVerbose 'match 7'
        updated = true
        str = match.replace type, "data-#{type}"
        if expression.length isnt expression.match(/[\w\.]+/)[0].length
          expression = "expression '#{expression.replace /'/g, "\\'"}'"

        expressionTag = if _(type).contains '-html' then escapeTripleBraces "{{{#{expression}}}}" else escapeDoubleBraces "{{#{expression}}}"
        str = str.replace closeTag, expressionTag + closeTag

