Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

home.controller.js 648B

123456789101112131415161718
  1. angular.module('app')
  2. .controller('HomeController', ['$scope', '$state', '$mdDialog', 'articlesBusiness', 'luBusyBusiness', 'AppUtilsBusiness',
  3. function($scope, $state, $mdDialog, articlesBusiness, luBusyBusiness, AppUtilsBusiness) {
  4. $scope.busy = luBusyBusiness.reset();
  5. $scope.item = null;
  6. $scope.appUtils = AppUtilsBusiness;
  7. $scope.load = function()
  8. {
  9. articlesBusiness.getMultiple('id', 'type: home', 0, 1, 'home.home').then(function(data)
  10. {
  11. $scope.item = data.data[0];
  12. }, function (error) {});
  13. };
  14. $scope.load();
  15. }]);