there is some angularjs modules which is not available yet for Angular 2 like iranian special calendar: https://amirkabirdataminers.github.io/ADM-dateTimePicker/
i was simply including its files like this :
<!doctype html>
<html ng-app="myApp">
<head>
<link rel="stylesheet" href="css/ADM-dateTimePicker.css" />
<script src="js/angular.min.js"></script>
<script src="js/ADM-dateTimePicker.min.js"></script>
...
</head>
<body>
...
</body>
</html>
then injecting it:
var app = angular.module('myApp', ['ADM-dateTimePicker']);
and finally using it like:
<adm-dtp ng-model='date'></adm-dtp>
Question: how can i code abow inside my angular 2 project (using typescript) ?