Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
0
Reply
Angularjs factory redirect
Ulhas Chaudhary
Aug 31 2015 8:13 AM
550
Reply
I have an multi page application in which i am using Angular js, i have my angular controller which is simple and the logic i have kept in angular factory which is used by the angular controller.
The example i have is on the first page i have inputs which caters my search parameters on click of search button the results are shown on my second page, first time it works fine.
Now i navigate back to my first search page via browser back button and modify the search parameters on click of search button now i am not able to view the search results or rather the new parameters which i have passed are not getting refreshed.
In short when i am redirecting using angular js, the parameters in the angular factory are not set or rather the values are not refreshed after the second redirect.
How can i refresh the values every time i redirect to some other page using angular factory.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
How to make a from?
how to retive value of a column of another table in store pr