I am currently implementing ui-router version 1.0.0-beta.1
and my state configuration appears as follows:
.state('start.step2', {
url: '/step2',
template: startStep2,
reloadOnSearch: false,
parent: 'start'
})
This sets the URL for this state to be /start/step2
Due to requirements from the backend, I now need to modify it to /start/step2.html
, so I made the necessary adjustment to the url parameter:
.state('start.step2', {
url: '/step2.html',
template: startStep2,
reloadOnSearch: false,
parent: 'start'
})
However, upon making this change, the page displays an error stating "cannot get /start/step2.html
". How can I successfully add .html into the URL?
Thank you.