This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function BlogService($http, $sce, config) { | |
| function allPosts() { | |
| return getData('posts?filter[category_name]=post'); | |
| } | |
| function allPostsByTag(tag) { | |
| return getData('posts?filter[category_name]=post&filter[tag]=' + tag); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This is a fix I have made for https://github.com/michaelbromley/angularUtils/issues/92 | |
| // If you ran into this issue, try this out. I am looking for feedback before I push to the repo. | |
| // It's a bit hacky but the tests pass and so far looks okay to me... | |
| /** | |
| * dirPagination - AngularJS module for paginating (almost) anything. | |
| * | |
| * | |
| * Credits | |
| * ======= |
NewerOlder