The code in this repo is designed to accompany The mystery of the missing map: Understanding ng-show and ng-if.

To run this code on your machine:

  1. Clone the repo
  2. Check out the branch you're interested in (there's one branch for each chapter of the story)
  3. From the command line, run python -m SimpleHTTPServer
  • If you simply open index.html in your browser, the AngularJS component templates may not load.
  1. In your browser, visit localhost:8000 (or whichever port SimpleHTTPServer is using)