Hi, Let's say I have an url for creating a new Todo element which is http://localhost/#/todo/new. I have an access from a menu outside of the component. When the component is loaded it creates a new Todo object. But then when I'm trying to create an other one while already being on the same page the link in the menu do nothing because it's the same url.
What would be the best way to handle this ? I have tried several approche but I don't feel it's the way to do it. For exemple when I save the element, I redirect to the page with the new element id in the url (http://localhost/#/todo/25) but this force the page to reload while I'm still on the same element. And if I don't want to save the element and just create a new one it's not possible either as the url does not change until saved. Thanks. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
