fix bug where an extra & was passed in the searchtext
using templateUrl rather than template