Paginate Almost Anything With Angular Js, Failed To Instantiate Module Error
I am trying to add to my Angular Js application a pagination angular JS module covered in this link (http://www.michaelbromley.co.uk/blog/108/paginate-almost-anything-in-angularjs)
Solution 1:
The problem was the module declaration, the dependencies needed to be passed in one array and not in two as I did.
var app= angular.module('myApp', ['ngRoute'], ['angularUtils.directives.dirPagination']);
Should be:
var app= angular.module('myApp', ['ngRoute', 'angularUtils.directives.dirPagination']);
Answered by Michael Bromley in http://www.michaelbromley.co.uk/blog/108/paginate-almost-anything-in-angularjs#comment-2122947706
Post a Comment for "Paginate Almost Anything With Angular Js, Failed To Instantiate Module Error"