The proper Way to get started on learning UI5 would be to adhere to under video clip sequence on Anubhav Trainings. You usually begin with HTML5, CSS, JS, and jQuery after which transfer to SAP UI5 Framework and Fiori Growth with MVC. In the last stage find out OData Companies about the Gateway server. All of this without having copy-paste of code