<commit_before>import {Injectable} from 'angular2/core';
import {Http} from 'angular2/http';

@Injectable()
export class ResultsService {

	constructor(private http: Http) { 
	}

	// should return an observable that we subscribe to, rather than returning the 
	// actual results.
	getResults(): any {
		return this.http.get('http://localhost:5555/app/assets/results.dummy.json')
			.map(res => res.json());
	}
}<commit_msg>Proper search URL<commit_after>import {Injectable} from 'angular2/core';
import {Http} from 'angular2/http';

@Injectable()
export class ResultsService {

	constructor(private http: Http) { 
	}

	// should return an observable that we subscribe to, rather than returning the 
	// actual results.
	getResults(): any {
		//return this.http.get('http://localhost:5555/app/assets/results.dummy.json')
		return this.http.get('http://tranquil-tundra-3993.herokuapp.com/search/chicken%7Cmilk')
			.map(res => res.json());
	}
}
{'fraction_non_alphanumeric': 0.1464968152866242, 'fraction_numerical': 0.018046709129511677, 'mean_word_length': 4.4508670520231215, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3183157', 'n_tokens_mistral': 324, 'n_tokens_neox': 300, 'n_words': 74}