Leave the definition of models to the bootstrapper
Merge pull request #31 from strongloop/feature/model-boot-refactor

Leave the definition of models to the bootstrapper
Use Model.remoteMethod instead of loopback's fn.

Rework Todo model to define the remote method `stats` using the new
method `Model.remoteMethod` instead of the deprecated
`loopback.remoteMethod`.
Merge pull request #32 from strongloop/feature/rework-deprecated-loopback-remoteMethod

Use Model.remoteMethod instead of loopback's fn.
Move api/ to rest/
Move configuration out of configure.js

 - Reduce REST API related settings to two properties:
   `restApiRoot` and `restApiUrl`.

 - Move `web/` config to `web/app.json` and `web/app.local.js`.

 - Refactor `rest/` and `web/` so that `rest/` exports only the REST API
   endpoint. Move loopback-explorer setup to the `web/` component.
Remove unused file html5/utf8
Move configuration of routes out of configure

Create a new file `html5/config.routes.json` to keep the list of known
routes.
Merge pull request #33 from strongloop/feature/next-gen-layout

Feature/next gen layout
Scaffold ngapp via `yo angular` and `yo karma`

Customizations:
 - `appPath` is `ngapp` instead of `app` (bower.json)
 - `testPath` is `ngapp/test/spec` instead of `test/spec` (bower.json)
 - all tests are in `ngapp/test` instead of `test`
 - .jshintrc - drop `curly: true`, set `latedef` to `nofunc`.

Remove unused scaffolded files:
 - ngapp/404.html
 - ngapp/.htaccess
ngapp: use StrongLoop's favicon
Use Chrome in karma.conf, PhantomJS in Gruntfile

Modify the Karma configuration so that
 - karma.conf.js specifies Chrome browser, which makes it easier
   to run karma tests in browser from WebStorm.
 - Gruntfile.js overrides the browser to PhantomJS, so that
   `grunt test` does not depend on an external browser.
ngapp: add lbclient services/values.

 - `Todo` model
 - `sync()` function
 - `network` object
ngapp: implement controllers and views from html5
Refactor lbclient/configure into lbclient/build

Add Grunt and Gulp tasks to call the new build function.
ngapp: build `window.CONFIG` object, routes config

Add a Grunt task to load all `ngapp/config/*.json` files and
write a js file that will expose the configuration on `window.CONFIG`.

Move the definition of angular routes to ngapp/config/routes.json,
so that it can be shared with the web server.
ngapp: polish visual appearance

- set title in index.html
- remove navigation and Google Analytics from index.html
- copy the CSS styles from web app
- remove unused yeoman image
- copy the navigation from home.ejs
web: use ngapp instead of html5

Modify web app to mount ngapp instead of html5.

Drop all ejs views as they are no longer use.

Enable HTML5 rounting in ngapp, add a base URL to fix relative
asset links when the page is served from a non-root url.
Gruntfile: run web app instead of grunt-connect

Rework `grunt serve` to start the full app instead of calling
grunt-connect.

Modify `web` to use relative paths to other components, instead
of depending on NODE_PATH. The reason is that NODE_PATH cannot be
modified from inside the Node process and the grunt task is running
the web app inside the same process.

Conditionally add `connect-livereload` middleware to the web app
to support the `livereload` option of the `grunt watch` task.
Remove `html5` and `gulpfile.js`

They are superseded by `ngapp` and `Gruntfile.js`