Waypoint is not a function error in Angularjs 5. Is there waypoint version conflict or Need follow any steps for angularjs,

Waypoint has been installed through npm install waypoint and I have added point #1 in angular-cli.json and in my compontent.ts i have added point #2. After this process i am getting two errors as mentioned in point #3. I new to angular world. What is right way to use waypoint for section navigation.

  1. “scripts”: [“../node_modules/waypoints/lib/jquery.waypoints.min.js”],

  2. $(‘.js–section-features’).waypoint(function(direction) {

    if (direction == “down”) {

      $('nav').addClass('sticky');
    

    } else {

      $('nav').removeClass('sticky');
    

    }
    },
    {
    offset: ’60px;’
    });

  3. a) Uncaught TypeError: Cannot read property ‘each’ of undefined.

    b) zone.js:192 Uncaught TypeError: $(…).waypoint is not a function

Timely help are highly appreciated!

Source: AngularJS