WIP Domain listing app with automatic status checking. Buitl with AngularJS.

main.js 425B

123456789101112131415
  1. 'use strict';
  2. /**
  3. * @ngdoc function
  4. * @name domainManagerApp.controller:MainCtrl
  5. * @description
  6. * # MainCtrl
  7. * Controller of the domainManagerApp
  8. */
  9. angular.module('domainManagerApp.main', ['firebase', 'domainManagerApp.userData'])
  10. .controller('MainCtrl', ['$scope', 'UserData', function ($scope, UserData) {
  11. $scope.username = UserData.getUser();
  12. $scope.isAuthenticated = UserData.isAuthenticated();
  13. }]);