example usage in AngularFaces