Initilise from an object factories, DOM elements with the attribute ui-class (same syntax as the class attribute, a space-separated list) and created for each call of factory method, a configuration object via attributes of the HTML element.