added (incomplete) angularjs example