<commit_before>import { Injectable } from '@angular/core';
import { Http, Response, URLSearchParams } from '@angular/http';
import { Observable } from 'rxjs/Observable';

import 'rxjs/add/operator/catch';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/merge';
import 'rxjs/add/observable/of';

import { AppRegistration, ErrorHandler, Page } from '../shared/model';
import { SharedAppsService } from '../shared/services/shared-apps.service';
import { DetailedAppRegistration } from './model/detailed-app-registration';
import { ApplicationType } from '../shared/model/application-type';
import { AppRegistrationImport } from './model/app-registration-import';
import { PageRequest } from '../shared/model/pagination/page-request.model';

import { HttpUtils } from '../shared/support/http.utils';

/**
 * Service class for the Apps module.
 *
 * @author <NAME>
 */
@Injectable()
export class AppsService {

  private static appsUrl = '/apps';
  public appRegistrations: Page<AppRegistration>;
  public remotelyLoaded = false;

  constructor(private http: Http, private errorHandler: ErrorHandler,
    private sharedAppsService: SharedAppsService) {
    console.log('constructing');
  }<commit_msg>gh-339 App registration button is unresponsive<commit_after>import { Injectable } from '@angular/core';
import { Http, Response, URLSearchParams } from '@angular/http';
import { Observable } from 'rxjs/Observable';

import 'rxjs/add/operator/catch';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/merge';
import 'rxjs/add/observable/of';
import 'rxjs/add/observable/forkJoin';

import { AppRegistration, ErrorHandler, Page } from '../shared/model';
import { SharedAppsService } from '../shared/services/shared-apps.service';
import { DetailedAppRegistration } from './model/detailed-app-registration';
import { ApplicationType } from '../shared/model/application-type';
import { AppRegistrationImport } from './model/app-registration-import';
import { PageRequest } from '../shared/model/pagination/page-request.model';

import { HttpUtils } from '../shared/support/http.utils';

/**
 * Service class for the Apps module.
 *
 * @author <NAME>
 */
@Injectable()
export class AppsService {

  private static appsUrl = '/apps';
  public appRegistrations: Page<AppRegistration>;
  public remotelyLoaded = false;

  constructor(private http: Http, private errorHandler: ErrorHandler,
    private sharedAppsService: SharedAppsService) {
    console.log('constructing');
  }
{'fraction_non_alphanumeric': 0.1388888888888889, 'fraction_numerical': 0.0012077294685990338, 'mean_word_length': 4.9735576923076925, 'pattern_counts': {'":': 0, '<': 7, '<?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': '5979145', 'n_tokens_mistral': 715, 'n_tokens_neox': 691, 'n_words': 175}