separated views from index

created views folder and put individual views into separate html files
and included them using include function. also in mainCtrl, changed the
setting of Summary values only after ngContentLoaded.