I need to use Owl carousel in Angular 5 project but its not working and showing below errors.
ERROR ReferenceError: $ is not defined
at OwlChild.ngOnInit (owl-child.component.js:22)
at checkAndUpdateDirectiveInline (core.js:12411)
at checkAndUpdateNodeInline (core.js:13935)
at checkAndUpdateNode (core.js:13878)
at debugCheckAndUpdateNode (core.js:14771)
at debugCheckDirectivesFn (core.js:14712)
at Object.eval [as updateDirectives] (OwlCarousel.html:1)
at Object.debugUpdateDirectives [as updateDirectives] (core.js:14697)
at checkAndUpdateView (core.js:13844)
at callViewAction (core.js:14195)
OwlCarousel.html:1 ERROR CONTEXT DebugContext_ {view: {…}, nodeIndex: 2, nodeDef: {…}, elDef: {…}, elView: {…}}
I need to use Owl carousel in Angular 5 project but its not working and showing below errors.