/angular-resource-example

This example demonstrates the basic use of $resources which is more aligned with fully baked REST APIs in the backend and avoid making raw $http calls from services. This also helps your keep your code in Models and presents an ActiveRecord approach as Rubyist are more used to.

Primary LanguageJavaScriptMIT LicenseMIT

angular-resource-example

This example demonstrates the basic use of $resources which is more aligned with fully baked REST APIs in the backend and avoid making raw $http calls from services. This also helps your keep your code in Models and presents an ActiveRecord approach as Rubyist are more used to

Steps to install

  1. Delete node-modules directory

  2. Install nodejs first. Then mongod and bower

  3. Inside this directory, run

    bower install

    npm install

  4. Run the mongod server

    mongod

  5. Go inside server folder and run the express server (which is like mini Phusion)

    node server.js