Move layout and logic over to Angular index file