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);


Comments

  1. Thank you For tutorials on Testing and the also the other tutorials on Blog are Awosme, It will be Most Usefull For Fresher and Students
    Angularjs Training In Hyderabad

    ReplyDelete
    Replies
    1. Thank you, its really my agenda in this blog to bring simple tutorials with simple enough code to grab the issue

      Delete
  2. This comment has been removed by the author.

    ReplyDelete

Post a Comment

Popular posts from this blog

c# Service Play Sound with NAudio example by Moshe

SOLVED The item could not be indexed successfully because the item failed in the indexing subsystem

JS/JQ simulate Enter event