To use angular-datatables, you need to have Node 6.9.0 or higher and NPM 3 or higher installed.
The documentation will only deal with projects that use angular-cli. Indeed, the front-end ecosystem is evolving at a pace I can't follow anymore. Thus, there will only have a tutorial for angular-cli's project. If you managed to make it work in, for example, SystemJS projects, please submit a pull request to improve this documentation. Thanks!
I recommend using angular-cli to create and manage your angular project
Since Angular-CLI is still in beta, I prefer to warn you the demo was developpped in version 1.0.0 and newer version of Angular-CLI may need to have different configuration.
You need to install its dependencies before getting the latest release using NPM:
Add the dependencies in the scripts and styles attributes:
Import the DataTablesModule at the appropriate level of your app.