[$anchorScroll] in Ionic 2? alternatives?

any way to do in ionic 2 $anchorScroll as of Angular 1.x?

I tried something like ng2-page-scroll

not sure if i m doing it right, i followed through the tutorial and got error:
ParseError: 'import' and 'export' may appear only with 'sourceType: module'

I only wish there’s an easier way