Well, after I typed the question, I saw I'm not using the latest angular. Angular 1.2.0 has this working.