mapping resources
playing with angular