>>I can not make it to work using states :(
>>
>>My latest attempt:
>>
>>.state('canceledState', {
>> url: '../../',
>> controller: '',
>> template: ''
>>
>>I also tried url: '/' and url: ''
>>
>>Nothing worked.
>>
>>When the form opens normally, the URL looks like this
>>
>>http://localhost:5525/CustomerAccounts/PrefsAcs#/AccountUDFs
>>
>>When I cancel, I want it to look simply like
>>
>>http://localhost:5525
>
>And if you go to 'cancelledState' what is the URL then ?
When I set it to '../../' it was 'http://localhost:5525/CustomerAccounts/PrefsAcs#/../../'
Also, I found that with my current solution of window.href for the Cancel, I can not re-load that page from Favorites after 'Save' anyway. Our menu.js file is very complicated and I believe one of our developers is going to re-write it. I hope with that re-write that problem may be easier to solve or it may go away by itself..
If it's not broken, fix it until it is.
My Blog