move angular code into content