Set up ui-router.
Added prerender and moved to hashbangs.