michaelbromley / angularUtils

A place where I will collect useful re-usable Angular components that I make
MIT License
2k stars 858 forks source link

I am not able to use other custom directive with dirPaginate? #460

Open shubhi0310 opened 7 years ago

shubhi0310 commented 7 years ago

Hi,

I have to use dirPaginate for pagination purpose in my angular js app. But the problem is that I already have one custom directive (name is pndaKafka) for some other purpose. If I use dirPaginate directive then that custom directive stop reflecting in my app. Below is the code:

angular.module('appComponents',[]); angular.module('appComponents',['angularUtils.directives.dirPagination']); angular.module('appComponents').directive('pndaKafka', ['$filter', '$window', 'HelpService', 'ConfigService', function($filter, $window, HelpService, ConfigService) {

// // }]);