first decent working example of ui-router.   Lots to go and lots to clean up