First working version after recent modifications.

Note, it requires to be run from a web server (not only from file://) because
Angular does AJAX HTTP requests to get the views and the browser doesn't let
that happen if you are loaded via the file:// protocol.