Sanitize ng-init for search.query.