Unknown
17697070ee
All ControlService was used for was a redirection to the engine service. This will be further split up in the future into more logical units of responsibility.
35 lines
1.1 KiB
Dart
35 lines
1.1 KiB
Dart
import 'package:angular/angular.dart';
|
|
import 'package:angular_components/angular_components.dart';
|
|
import 'package:rules_of_living/components/configuration_component.dart';
|
|
import 'package:rules_of_living/components/controls_component.dart';
|
|
import 'package:rules_of_living/components/header_component.dart';
|
|
import 'package:rules_of_living/components/simulation_component.dart';
|
|
import 'package:rules_of_living/service/configuration_service.dart';
|
|
import 'package:rules_of_living/service/engine_service.dart';
|
|
|
|
@Component(
|
|
selector: 'my-app',
|
|
templateUrl: "app_component.html",
|
|
directives: [
|
|
coreDirectives,
|
|
MaterialButtonComponent,
|
|
MaterialIconComponent,
|
|
MaterialSliderComponent,
|
|
HeaderComponent,
|
|
SimulationComponent,
|
|
ControlsComponent,
|
|
ConfigurationComponent
|
|
],
|
|
providers: [
|
|
materialProviders,
|
|
ClassProvider(EngineService),
|
|
ClassProvider(ConfigurationService),
|
|
],
|
|
styleUrls: const [
|
|
'package:angular_components/app_layout/layout.scss.css',
|
|
'app_component.css'
|
|
],
|
|
)
|
|
class AppComponent {
|
|
var name = "World";
|
|
}
|