added angular resource integration