Playing with angular and REST