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 should create a pagination directive and insert that where you need it. You might get some good ideas from this post.