Message Boards
angularjs $interval page refresh
anthony oleary, modified 7 Years ago.
angularjs $interval page refresh
New Member Post: 1 Join Date: 2/24/17 Recent Posts
hello
I am doing a page refresh with angularjs 1.x using the angular $interval, and I store local angular variables to expand a html tree structure,
works fine outside liferay but inside liferay: the page refreshes but the html tree does not expand dueto an issue i guess with the angular variables.
any ideas?
I am doing a page refresh with angularjs 1.x using the angular $interval, and I store local angular variables to expand a html tree structure,
works fine outside liferay but inside liferay: the page refreshes but the html tree does not expand dueto an issue i guess with the angular variables.
any ideas?
David H Nebinger, modified 7 Years ago.
RE: angularjs $interval page refresh
Liferay Legend Posts: 14916 Join Date: 9/2/06 Recent Posts
Angular uses the address bar and javascript to store state information.
Liferay does not retain the angular state across refreshes.
You're not going to be able to leverage angular's refresh in this way, instead you need to pull your data and refresh your portion of the dom.
Liferay does not retain the angular state across refreshes.
You're not going to be able to leverage angular's refresh in this way, instead you need to pull your data and refresh your portion of the dom.