How use JQuery in template in component of Angular 2?
Example
import { Component } from '@angular/core'
import * as $ from 'jquery';
...
in template of the component use
<p (click)="$('#myModal').modal('show');">show</p>
it return this error
ERROR TypeError: co.$ is not a function {}