angularjs - Back button should take to parent route -


i making angularjs app using cordova problem when press button traces path have followed. ex. have made homepage session homepage , inside session homepage there session1, sesion2......session5etc. problem if move homepage session homepage , session1 , after session2 on pressing button goto session1 instead of going session homepage. how rid of it, should make directive or there other method

you don't want "back" button. button says - go previous page.

if wish go specific page, need explicitly specify link page. cannot call going "back" - intend go specific page.

<a href="/#/main-session-page">back session page</a> 

Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -