prototypes and angular fun