AngularJS: How to clear query parameters in the URL?

后端 未结 16 2670
余生分开走
余生分开走 2020-12-04 14:40

My AngularJS application needs to have access to the user\'s LinkedIn profile. In order to do that I need to redirect the user to a LinkedIn URL which contains a callback re

16条回答
  •  孤街浪徒
    2020-12-04 15:28

    I've tried the above answers but could not get them to work. The only code that worked for me was $window.location.search = ''

提交回复
热议问题