Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Aug 20, 2014
1 parent 0a2c2b6 commit 1667f56
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
# angular-dir-pagination
# angular-utils-pagination

This repo contains only the release version of the dirPagination module from my
[angularUtils](https://github.com/michaelbromley/angularUtils/tree/master/src/directives/pagination) repo. The sole purpose of this repo is to allow for convenient
dependency management via Bower.

Actual development of this module occurs in the angularUtils project.
## Documentation

All documentation is also located in the [angularUtils project](https://github.com/michaelbromley/angularUtils/tree/master/src/directives/pagination).
All documentation is also located in the [angularUtils project](https://github.com/michaelbromley/angularUtils/tree/master/src/directives/pagination).

## Issues

Please submit any issues to the [angularUtils issue tracker](https://github.com/michaelbromley/angularUtils/issues), not this one.

## Contribution

If you wish to contribute, then please fork the [angularUtils repo](https://github.com/michaelbromley/angularUtils). This repo contains
the tests and is set up to run Karma for unit testing.

## License

MIT
6 changes: 3 additions & 3 deletions dirPagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* Config
*/
var moduleName = 'YOUR_APP_MODULE_NAME';
var moduleName = 'angularUtils.directives.dirPagination';
var templatePath = 'directives/pagination/dirPagination.tpl.html';

/**
Expand All @@ -29,8 +29,8 @@
try {
module = angular.module(moduleName);
} catch(err) {
// named module does not exist, so create one with a default name
module = angular.module('angularUtils.directives.dirPagination', []);
// named module does not exist, so create one
module = angular.module(moduleName, []);
}

module.directive('dirPaginate', ['$compile', '$parse', '$timeout', 'paginationService', function($compile, $parse, $timeout, paginationService) {
Expand Down

0 comments on commit 1667f56

Please sign in to comment.