change the main.html to home.html, change dashboard.js to dashboard-controller.js and main.js to home-controller.js