add minimal PubNub AngularJS example
minor JS tweak