I am having trouble trying to navigate to a page from same page in using this shim. The "document.getElementById" is accessing previous page's DOM and thus ignoring new state. The issue is as described in the following link here - http://mcnextpost.com/2014/05/27/best-practices-for-winjs-applications/. The solution is to use page.element instead of document to look up. However, in the agnular-winjs shim I am not able to access the "page" element. Is there a way?
I am having trouble trying to navigate to a page from same page in using this shim. The "document.getElementById" is accessing previous page's DOM and thus ignoring new state. The issue is as described in the following link here - http://mcnextpost.com/2014/05/27/best-practices-for-winjs-applications/. The solution is to use page.element instead of document to look up. However, in the agnular-winjs shim I am not able to access the "page" element. Is there a way?