docs: function getOrCreateElements(domElement, arrayOfElementNames) {
          var element = domElement;
          angular.forEach(arrayOfElementNames, function (name) {
              if (element) {
                  var children = $(element).children(name);
                  if (!children || !children.length) {
                      $("<" + name + "></" + name + ">").appendTo(element);
                      children = $(element).children(name);
                  }
                  element = children;
              }
          });
          return element;
      }