       elementName = null
       elementId = null
       elementClassList = []
+      elementAttributeMap = {}
 
       if options.length and typeof(options[options.length - 1]) is 'function'
         subTemplate = options.pop()

        elementName = options.shift()

        # parse #id and .class suffixes
        elementName = elementName.replace /[#.][^#.]*/g, (a) ->
          if a[0] is '#'
            elementId = a.substring(1)
          else
            elementClassList.push a.substring(1)


        @$tubularHtmlOnDestroy = createBroadcast()

      # attribute binding
      for o in [ elementAttributeMap ].concat(options)
        for attributeName, attributeTemplate of o
          snakeCaseName = attributeName.replace /[a-z][A-Z]/g, (a) ->
            a[0] + '-' + a[1].toLowerCase()
