This quick and dirty example demonstrates the basic vanilla JavaScript inheritance to make factories more extendable. Out of the box Angular is quiet about this unlike YUI and React. Hiding basics of JavaScript's protypal nature is great in Angular, but sometimes this design is more explicit.
-
Delete node-modules directory
-
Install nodejs first. Then mongod and bower
-
Inside this directory, run
bower install
npm install
-
Run the mongod server
mongod
-
Go inside server folder and run the express server (which is like mini Phusion)
node server.js