#7: hard-coded colors
remove IIFEs from angular code