added angular resource