So, I have a list of items in an Ionic framework project, like this:
<a ng-repeat="item in items" href="#/item/{{item.id}}" ng-click="clicker(item)" class="item item-thumbnail-left">
Being a noob in AngularJS, I don't know how to generate random states using state providers. Urls look like this: /item/1, /item/2, /item/3, etc.
What am I trying to achieve:
- define a template
- load some content in that template, dynamically (for each item, i have different content)
Is this possible? If so, how?