changed ui-router directory structure to use states and child templates