Operators to === instead of ==
Don't use the id of the component, but use parameter 'search'. The viewercontroller then gives the parameter to all the search components