nl_tokens: @ngdoc method @name $location#search
pl_tokens: function ( search , paramValue ) { switch ( arguments . length ) { case 0 : return this . $$search ; case 1 : if ( isString ( search ) ) { this . $$search = parseKeyValue ( search ) ; } else if ( isObject ( search ) ) { // remove object undefined or null properties forEach ( search , function ( value , key ) { if ( value == null ) delete search [ key ] ; } ) ; this . $$search = search ; } else { throw $locationMinErr ( 'isrcharg' , 'The first argument of the `$location#search()` call must be a string or an object.' ) ; } break ; default : if ( isUndefined ( paramValue ) || paramValue === null ) { <mask> this . $$search [ search ] ; } else { this . $$search [ search ] = paramValue ; } } this . $$compose ( ) ; return this ; }