adds improved comments to the angularjs example