angular example compatible with v0.3