With static html it easy to use (http://t1m0n.name/air-datepicker/docs/):
<html>
<head>
<link href="dist/css/datepicker.min.css" rel="stylesheet" type="text/css">
<script src="dist/js/datepicker.min.js"></script>
<!-- Include English language -->
<script src="dist/js/i18n/datepicker.en.js"></script>
</head>
</html>
But I don`t know how to use it with angular 4.
Install air-datepicker with
npm i air-datepicker --save
In component write
import 'jquery/dist/jquery.min.js';
import 'air-datepicker/dist/js/datepicker.js';
But input not use it
<input type='text' class="datepicker-here" data-position="right top" />
If add this js file to ".angular-cli.json" It not work
"scripts": [
"../node_modules/air-datepicker/dist/js/datepicker.js"