angularjs example compiles