text: 'use strict';
  
  angular.module('mongohipsterApp')
      .controller('MainController', function ($scope, Principal) {
          Principal.identity().then(function(account) {
              $scope.account = account;
              $scope.isAuthenticated = Principal.isAuthenticated;
          });
      });
  