른록노트

[Angular] stateProvider 현재 메뉴(url) 다시 클릭할때 리로드하기 angularjs - refresh when clicked on link with actual url 본문

Web/[Angular]

[Angular] stateProvider 현재 메뉴(url) 다시 클릭할때 리로드하기 angularjs - refresh when clicked on link with actual url

른록 2017. 12. 1. 15:13

For people who are using AngularUI Router. You can use something like this:

<a data-ui-sref="some.state" data-ui-sref-opts="{reload: true}">State</a>

Notice the reload option.

Found the answer here: https://stackoverflow.com/a/29384813/426840


참고사이트

https://stackoverflow.com/questions/11267284/angularjs-refresh-when-clicked-on-link-with-actual-url

반응형
Comments