remove legacy code
add ngDialog
integrate ngDialog
implement navigation