Added a pages server side controller. Defined getAll function which return a fixed jscon. Also implemented an angular socket call to the pages server side