There is also a special data-foreach attribute, which clones the childnodes of the container for each item in the config under the specified key (the value must be an array). Note the contents of data-foreach is not in the open and close sequence (usually curly brackets). The attribute is removed after the processing.