Ms_ Dev

Ms_ Dev

  • NA
  • 236
  • 88.7k

angularUtils.directives.dirPagination with more scopes

Aug 31 2016 12:51 AM

I want to pass more than one injectables in my angular module like this ->

var app = angular.module("myApp", ['angularUtils.directives.dirPagination','ngMaterial', 'ngMessages']);

but it is giving error and the code below is working absolutely fine.

var app = angular.module("myApp", ['angularUtils.directives.dirPagination']);

I want to decorate my view by Material Design but the dirPagination directive is giving error when passed as 1st code statement.

I have no idea why it is acting like ? Solutions are Welcome.


Answers (1)