Add error-logging example for AngularJS.
Merge branch 'master' into gh-pages