This is a Ibis (Rapp) |
This project shows ...
- How to define CSS styles inside the Angular 2 Component
- how to enable Angular 2 productive mode
- What is dependency injection (part 1)
- How to use Angluar dependency injection (part 2)
- How to use Angluar services (part 2)
- How to create and register a logger service (part 2)
- How to use injector providers (part 2)
- How to use dependency injective tokens (part 3)
- How to use optional dependencies (part 4)
Open Angular 2 guide DEPENDENCY INJECTION and work through.
See file main.ts to see how to enable productive mode.
Uncomment the two productive mode statements to enable productive mode.
This tutorial uses Netbeans, Gulp.js, Node.js, Express Web-Server.
Follow these links to find some more information for
Netbeans IDE,
Gulp.js,
Node.js,
Express Web-Server,
Angular 2 and
TypeScript.
To do (on Linux OS) ...
- open shell and clone git repository
git clone <repository-url>
- change working directory to project and install node modules
cd <project-dir>/ibis
npm install
- build the project and start the server
npm start
- start a web-client and test the server
http://localhost:8080