Fleshing out angular code