fixed some bugs and got ui-router working, need to work on the node configuration a bit more.