summaryrefslogtreecommitdiffstats
path: root/js/controller/NavigationController.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/controller/NavigationController.js')
-rw-r--r--js/controller/NavigationController.js14
1 files changed, 12 insertions, 2 deletions
diff --git a/js/controller/NavigationController.js b/js/controller/NavigationController.js
index 700e6bd02..bc0c13d13 100644
--- a/js/controller/NavigationController.js
+++ b/js/controller/NavigationController.js
@@ -7,8 +7,18 @@
* @author Bernhard Posselt <dev@bernhard-posselt.com>
* @copyright Bernhard Posselt 2014
*/
-app.controller('NavigationController', function () {
+app.controller('NavigationController',
+function (FeedResource, FolderResource, ItemResource) {
'use strict';
- console.log('here');
+ this.getFeeds = () => {
+ return FeedResource.getAll();
+ };
+
+ this.getFolders = () => {
+ return FolderResource.getAll();
+ };
+
+ console.log(ItemResource);
+
}); \ No newline at end of file