Messing around with RaphaelJs, Angular and FireBase