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-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-07-07 14:44:27 +00:00
|
|
|
|
2018-07-07 13:46:40 +00:00
|
|
|
@Component(
|
2018-07-07 18:49:02 +00:00
|
|
|
selector: 'my-app',
|
|
|
|
templateUrl: "app_component.html",
|
2018-08-22 18:16:31 +00:00
|
|
|
directives: [coreDirectives, MaterialButtonComponent, MaterialIconComponent, MaterialSliderComponent, HeaderComponent, SimulationComponent, ControlsComponent],
|
|
|
|
providers: [materialProviders, ClassProvider(EngineService)],
|
2018-07-10 10:52:56 +00:00
|
|
|
styleUrls: const ['package:angular_components/app_layout/layout.scss.css'],
|
|
|
|
)
|
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
|
|
|
}
|