Component equivalent of frontier controls.js file. Parses data-control and data-config and returns cfg obj.