Angular: connected the page navigator and accordion