Add some structure to angular + debug serverside