Added Publish and subscribe events and Performance

Added Publish and subscribe events and Performance taken from:
https://github.com/toddmotto/angularjs-styleguide/blob/master/README.md