message typed in search bar appears in field in ng-view scope.