Observabes are better suited to shuffling data, particularly streams of data.
* RouteResolvers only want a single value from an observable. Unclear why.
* Observables not observered are not executed!!
+* route changes that do not result in a new component being loaded
+ do NOT force running components to reload! you have to watch
+ for route changes.
* Use 'declare' to tell TypeScript about global, legacy/non-exported
variables, e.g. opensrf libs.
*** ng build --aot --i18nFile=src/locale/messages.fr.xlf --i18nFormat=xlf --locale=fr
*** Final build only contains french strings.
** can drop the egStrings module
+ ** keeping all files within the Ang2 universe makes things like IDEs possible
=== Services and Classes ===
* Many services can just be classes
[source,sh]
------------------------------------------------------------------------
-<Directory "/openils/var/web/ang2">
- FallbackResource /ang2/index.html
+<Directory "/openils/var/web/webby">
+ FallbackResource /webby/index.html
</Directory>
------------------------------------------------------------------------
+== per-component css
+* surprisingly handy
+
=== angular-cli
* Compiling code bundles
* Minifying
* Add an ang5 service and use from the angjs directive.
* Add an angjs service and use from ang5 component.
+
+== 0 to 60
+
+* Install Evergreen working/lp1626157-ang2-sandbox
+* Edit eg_vhost.conf (see fallback resource above)
+* mkdir Open-ILS/web/webby
+* opensrf: ln -s /home/berick/code/Evergreen/Open-ILS/web/webby /openils/var/web/webby
+* sudo npm install -g @angular/cli
+* cd Open-ILS/webby-src
+* npm install
+* ng build --deploy-url /webby/ --base-href /webby/ --output-path ../web/webby/ --watch