'use strict';

/**
 * @ngdoc function
 * @name domainManagerApp.controller:MainCtrl
 * @description
 * # MainCtrl
 * Controller of the domainManagerApp
 */
 angular.module('domainManagerApp.main', ['firebase', 'domainManagerApp.userData'])
  .controller('MainCtrl', ['$scope', 'UserData', function ($scope, UserData) {
    $scope.username = UserData.getUser();
    $scope.isAuthenticated = UserData.isAuthenticated();
  }]);