We've already explored a couple of ways we can connect to a server and have configured our web app to take advantage of
ngResource. There are other modules we can use to connect to a server as well, and we're going to take a quick look at a couple of them.
RestAngular is a community project that provides a service to connect to RESTful APIs—much like
ngResource. It does have a few significant differences that are worth being aware of.
The most important thing to note is that RestAngular uses promises just like
$http. This means you get access to that nice pattern to determine whether a call was successful or not, but it does mean there are a few extra steps, and we can't just assign it to a model.