Made it dynamically load page content from MongoDB.

Dynamic injection of Angular $stateProvider states according to configured pages. -- Need to work for module admin areas, etc.

Needs dynamic controller loading in Angualrjs.

Pages can be set to render a view, or a layout. Layout content areas can also be set to render a view, or they can be linked directly from the page content with the view directive.
Fixed view integration. Added View directive, added some functions.