work on the rest services abstraction in angular