/angular-inheritance-example

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.

Primary LanguageJavaScriptMIT LicenseMIT

angular-inheritance-example

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.

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