Angular controller is going to access the data from our API using ngResource