2018-07-07 13:46:40 +00:00
|
|
|
import 'package:angular/angular.dart';
|
2018-07-10 10:52:56 +00:00
|
|
|
import 'package:angular_components/angular_components.dart';
|
2018-08-23 12:12:22 +00:00
|
|
|
import 'package:rules_of_living/components/configuration_component.dart';
|
2018-08-22 18:16:31 +00:00
|
|
|
import 'package:rules_of_living/components/controls_component.dart';
|
2018-08-22 11:00:41 +00:00
|
|
|
import 'package:rules_of_living/components/header_component.dart';
|
2018-08-22 18:16:31 +00:00
|
|
|
import 'package:rules_of_living/components/simulation_component.dart';
|
|
|
|
import 'package:rules_of_living/service/engine_service.dart';
|
2018-10-18 10:05:02 +00:00
|
|
|
import 'package:rules_of_living/service/simulation_service.dart';
|
2018-07-07 14:44:27 +00:00
|
|
|
|
2018-07-07 13:46:40 +00:00
|
|
|
@Component(
|
2018-08-23 10:38:34 +00:00
|
|
|
selector: 'my-app',
|
|
|
|
templateUrl: "app_component.html",
|
|
|
|
directives: [
|
|
|
|
coreDirectives,
|
|
|
|
MaterialButtonComponent,
|
|
|
|
MaterialIconComponent,
|
|
|
|
MaterialSliderComponent,
|
|
|
|
HeaderComponent,
|
|
|
|
SimulationComponent,
|
2018-08-23 12:12:22 +00:00
|
|
|
ControlsComponent,
|
|
|
|
ConfigurationComponent
|
2018-08-23 10:38:34 +00:00
|
|
|
],
|
2018-08-27 18:50:12 +00:00
|
|
|
providers: [
|
|
|
|
materialProviders,
|
|
|
|
ClassProvider(EngineService),
|
2018-10-18 10:05:02 +00:00
|
|
|
ClassProvider(SimulationService)
|
2018-08-27 18:50:12 +00:00
|
|
|
],
|
|
|
|
styleUrls: const [
|
|
|
|
'package:angular_components/app_layout/layout.scss.css',
|
|
|
|
'app_component.css'
|
|
|
|
],
|
2018-07-10 10:52:56 +00:00
|
|
|
)
|
2018-08-22 18:16:31 +00:00
|
|
|
class AppComponent {
|
2018-07-07 14:44:27 +00:00
|
|
|
var name = "World";
|
2018-07-07 13:46:40 +00:00
|
|
|
}
|