/** * ownCloud - News * * This file is licensed under the Affero General Public License version 3 or * later. See the COPYING file. * * @author Bernhard Posselt * @copyright Bernhard Posselt 2014 */ app.controller('ContentController', function (Publisher, Feed, Item, data) { 'use strict'; // distribute data to models based on key Publisher.publishAll(data); this.getItems = function () { return Item.getAll(); }; this.getFeeds = function () { return Feed.getAll(); }; });