I want to create seperate module for pagination, because I will need it to reuse in different modules, but I don\'t know how to call a function from module dependency (another m
You can't inject a controller in a controller. Your pagination module need to declare a service or factory or provider wich will be be injected in your controller.