added angular resource dependency