import angular from 'angular'; import RingPager from '@jetbrains/ring-ui/components/pager-ng/pager-ng'; const pagerModule = angular.module('Example.pager', [RingPager]); pagerModule.controller('ExampleCtrl', function () { this.total = 750; this.currentPage = 1; this.onPageChange = page => { this.currentPage = page; } });