I have a angular 2 app where I'm trying to implement a very simple animated scroll, using ng2-page-scroll.
According to the read.me, I should be able to npm install it, Import it to my module.ts file and then user the directive.
I've done all of that, but I get nothing.
Has anyone used this package and gotten it to work?
Here is my import:
import {Ng2PageScrollModule} from 'ng2-page-scroll/ng2-page-scroll';
I have it properly added in the module "import" section...
Here is my anchor link with directive:
<a href="#test" pageScroll> test </a>
and my anchor element has id="test"
Any thoughts?