AngularJs with REST service

The following example descibes an full demo implementation of a REST Service combined with an AngularJs Webapplication example. The REST Service runs on a Raspberry Pi Model B and the AngularJs Webapplication runs on a Synology (Apache-server).

Setup the RESTService

First I setup a RESTService using a Raspberry Pi with Node.js (v0.10.2) and Express.js. (NPM v1.2.15). With the following code changes. AngularJs version 1.2.12