After setting up a text box for input and adding a refresh()
button to refresh the content, my code was functioning correctly. However, I encountered an issue where upon clicking the refresh()
button, the entire window would refresh instead of just the page. I attempted using $route.reload()
without success. Despite searching various websites for a solution, I was unable to find one that worked. I put forth my best effort to resolve the problem but unfortunately reached a standstill.
You can view my plunker here: https://plnkr.co/edit/0r7DXPWWtXmFYsHwY6Q?p=preview
Feel free to check it out yourself.