Finished AngularJS integration. Two new samples demonstrating AngularJS. Fixed a bug which causes global emit to not work.