import {Component, ElementRef, OnInit} from \'angular2/core\'; declare var jQuery:any; @Component({ selector: \'jquery-integration\', templat
we can use like as follow:
var jq=require('./jquery.min.js'); ..... export class AppComponent{ ngOnInit(){ jq(); console.log($('body')) // show:[body, prevObject: r.fn.init[1]] //ok!normal operation! } }