I wanna use ajax to update content when clicked a link to instead of traditionally refresh fullpage, and my method is prepend a #! fragment to the controller segment of anchors href attr such as home and news , to prevent the http request and have ajax crawling, then use js to implement the ajax task, these are what i have done, but now i got a problem is if i access the url directly, maybe mysite.com/#!news, it load index page and ignore queries after # fragment, so what can i do to solve this? thx.
Comments