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

c - Calling a function within a loop -

vb.net - Unbound DataGridView add row with checkbox error -

How i fill combobox items in Radgridview manually using in vb.net -