Broadcaster pages

Please check partitipant.js, maybe you have some suggestions on how to re-factor it.
what is $inject? is this something of Angular?