application menu code add in mainView.js and changes add in homeCtrl.js to display home menu