Clear / Clean / Delete angularJS $location.search()
Bresleveloper's AngularJS tutorial: $location.search() :)
i tried a few thing but the only thing that worked was
for (prop in $location.search())
$location.search(prop, null);
Thank you, its really my agenda in this blog to bring simple tutorials with simple enough code to grab the issue
ReplyDeleteThis comment has been removed by the author.
ReplyDelete
ReplyDeleteThe information which you have provided is very good. It is very useful who is looking for Best Devops Training Institute
This article is really helpful for me. I am regular visitor to this blog. Share such kind of article more in future. Personally i like this article Really awesome..
ReplyDeleteSalesforce Training in Chennai
Salesforce Online Training in Chennai
Salesforce Training in Bangalore
Salesforce Training in Hyderabad
Salesforce training in ameerpet
Salesforce Training in Pune
Salesforce Online Training
Salesforce Training
This comment has been removed by the author.
ReplyDeleteGreat solution! Using the loop to clear out the query parameters in $location.search() is a clean and effective approach. It’s always helpful to find these little tricks to keep the URL parameters manageable in AngularJS applications. Thanks for sharing this. Looking forward to more insightful posts like this.Looking to master the world of digital marketing? We provide comprehensive digital marketing courses that equip you with the skills to succeed in today's fast-paced online landscape AI Powered Digital Marketing Course In Hyderabad.
ReplyDelete