<commit_before>import 'package:angular/angular.dart';
import 'services/SignInService.dart';
import 'controllers/SignInController.dart';
import 'controllers/HomepageController.dart';
import 'router.dart';

class FrontendModule extends Module {
  static const String API_HOST = 'http://private-4bbe-kytarovyzpevnik.apiary-mock.com';

  FrontendModule() {
    type(SignInService);
    type(SignInController);
    type(HomepageController);
  }
}<commit_msg>angular does use strings preceded with # in url for routing, instead of browser's push state (which overwrites whole url)<commit_after>import 'package:angular/angular.dart';
import 'services/SignInService.dart';
import 'controllers/SignInController.dart';
import 'controllers/HomepageController.dart';
import 'router.dart';
import 'package:angular/routing/module.dart';

class FrontendModule extends Module {
  static const String API_HOST = 'http://private-4bbe-kytarovyzpevnik.apiary-mock.com';

  FrontendModule() {
    type(SignInService);
    type(SignInController);
    type(HomepageController);

    bind(RouteInitializerFn, toValue: RouterInitializer);
    bind(NgRoutingUsePushState, toValue: new NgRoutingUsePushState.value(false));
  }
}
{'fraction_non_alphanumeric': 0.11240632805995004, 'fraction_numerical': 0.0016652789342214821, 'mean_word_length': 6.154761904761905, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1841422', 'n_tokens_mistral': 378, 'n_tokens_neox': 368, 'n_words': 73}