I have the following problem:
I have an object, it is representing a list of "pages" and "quests" whithin them
<div ng-repeat='page in pages' ng-show='page.show'>
....
</div>
Now, when i render them, i did ng-show on, for example page 1, and then when user click a next button, the ng-shows shows the next page.
That was "ok" till now, but now i need something like this:
I need this pages to be routes.. like if my site is www.mysite.com/pages/
than page one will be represented this way www.mysite.com/pages/#1
and the reason is that when a user clicks "back" i want to use history.js to let the user go back to where he came from...
How should i tackle this? where should i start?