diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-30 22:19:26 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-30 22:19:26 +0200 |
commit | 35d0d8750e579c40a05f46c0e29cafce9123ae60 (patch) | |
tree | 03a2641ca8fed4baa7682cc5c87ddc47b7b99df8 /js/controller | |
parent | e9a2c6bac0dceeffb86e9fb50802af945555d565 (diff) |
more additions
Diffstat (limited to 'js/controller')
-rw-r--r-- | js/controller/NavigationController.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/js/controller/NavigationController.js b/js/controller/NavigationController.js index 08443191b..e6cb14a93 100644 --- a/js/controller/NavigationController.js +++ b/js/controller/NavigationController.js @@ -11,6 +11,9 @@ app.controller('NavigationController', function (FeedResource, FolderResource, ItemResource, SettingsResource) { 'use strict'; + this.feedError = ''; + this.folderError = ''; + this.getFeeds = () => { return FeedResource.getAll(); }; @@ -41,6 +44,10 @@ function (FeedResource, FolderResource, ItemResource, SettingsResource) { return SettingsResource.get('showAll'); }; + this.getFeedsOfFolder = (folderId) => { + return FeedResource.getByFolderId(folderId); + }; + // TBD this.createFeed = () => { console.log('TBD'); |