appCtrl added to the index page