Angular Version

Angular version consists of two projects that are located inside projects folder:

  • Demo App
  • Library

All angular files are inside ace-angular folder.
So when a path/loaction is mentioned such as projects it means it's located inside ace-angular folder.

Demo App

Demo app is the angular version of Ace's HTML demo and you don't need to use it.
But you can refer to it as an example.
It's located inside projects/ng-ace-demo.

You can run the demo with following command:

bash
ng serve ng-ace-demo
# or just
ng serve

Library

Library files are inside projects/ng-ace-lib which are re-usable Ace directives and services that you can import in your own app.

You can build the library with following command:

bash
ng build --prod ng-ace-lib

During development, I've been using library's source (not dist) files directly so that every time a directive or service file is updated, demo app automatically gets reloaded and there's no need to re-build the library.

This is done by setting the paths of compilerOptions point to library's source folder in tsconfig.json and updating entryFile in ng-ace-lib/src/ng-package.json.

Please refer to the above files for more info.