adding dependencies: data, and angular resource library