I have something like that in my code
<ul ng-model="services">
<p ng-repeat="item in items"><b>{{ item.name }}</b>
</p>
I have for example 3 items: BMW, golf and mercedes I want to have an url with the name of each item, like /bmw or /mercedes and all url use details.html to show the details of the selected Item. I'm trying to understand how can I do this.
You can define paths within your module like so:
When the path is changed to 'page1' this module will load
page1.html
as the new view.You can set up a view in an element such as:
<md-content ng-view=""></md-content>