Because I want to incorporate Drag and Drop functionality in my app, I decided to import jQuery UI to my Angular 2 project.
First I started by importing jQuery itse
I managed to make it work by doing the following steps:
In angular-cli.json I added my jquery and jquery-ui paths in the scripts object. Here is what they look:
"scripts": [
"../node_modules/jquery/dist/jquery.min.js",
"../node_modules/jquery-ui/jquery-ui.js"
]
After I completed these steps, it worked like a charm. Hope that helps someone who had problems with it.