This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Description
this replaces build_scripts.ts
prior art:
riot/compiler
create directives that emulates <module import="angular2/angular2"><module> and also allow inline scripts such as
<script type="text/typescript">
class App {}
</script>
and also inject dep angular with type="angular"
<module type="angular">
@Component({ selector: 'app' })
@View({ template: '<div>hello world</div>' })
class App {}
</module>
we can also inject systemjs and es6 module loader.
We should also allow for app state management from build_scripts where we are able to control how the application is ran on the client. Or leave that feature for another module such as ngAppState
<ng-component> element
<ng-component name="app">
<style>
</style>
<template view="app">
</template>
<module>
import {Component, View} from '@angular/angular';
@Component({
})
@View({
})
class App {
constructor() {
}
}
</module>
<ng-component>