       # Inherit injector
       @injector = @parent.injector
       
-    if opts.template and not @template
+    if opts.template and @template is undefined
       @template = opts.template
 
     if @template is true

  @REVERSE_PARSING: $('<div ui-test1 ui-test2></div>')[0].attributes[0].name is 'ui-test2'

  divWrapper: true
  template: false
  parseSelf: true

  injector: Neck.DI.commonjs

  constructor: (opts = {})->
    super


      for item in buffer
        helper = new item.controller(el: el, parent: @, mainAttr: item.value)
        stop = true if helper.template isnt undefined

    @_parseNode child for child in node.childNodes unless stop or not node
    undefined
