<commit_before>import {Component, OnInit} from 'angular2/core';
import {UmbracoService} from './umbraco.service';
import {AppError} from './app.error';

@Component({
    selector: 'my-app',
    directives : [AppError],
    templateUrl: './app/templates/properties.html',
    providers: [UmbracoService]
})

export class AppComponent implements OnInit {
    objectData: any;
    error: any;

    constructor(private _umbracoService: UmbracoService) { }


    getNodeByUrl() {
        this._umbracoService.getNodeByUrl("/stockholm")
            .subscribe(data => this.objectData = data, error => this.error = error);
    }

    ngOnInit() {
        this.getNodeByUrl();
    }
}<commit_msg>formatting<commit_after>import {Component, OnInit} from 'angular2/core';
import {UmbracoService} from './umbraco.service';
import {AppError} from './app.error';

@Component({
    selector: 'my-app',
    directives : [AppError],
    templateUrl: './app/templates/properties.html',
    providers: [UmbracoService]
})

export class AppComponent implements OnInit {
    objectData: any;
    error: any;

    constructor(private _umbracoService: UmbracoService) { }

    getNodeByUrl() {
        this._umbracoService.getNodeByUrl("/stockholm")
            .subscribe(data => this.objectData = data, error => this.error = error);
    }

    ngOnInit() {
        this.getNodeByUrl();
    }
}
{'fraction_non_alphanumeric': 0.13848396501457727, 'fraction_numerical': 0.0014577259475218659, 'mean_word_length': 3.4290322580645163, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4969683', 'n_tokens_mistral': 431, 'n_tokens_neox': 424, 'n_words': 88}