setup main angular structure for the different pages