var MyApp;
(function (MyApp) {
    var Controllers;
    (function (Controllers) {
        var emailLoginEmailAddressController = /** @class */ (function () {
            function emailLoginEmailAddressController(accountService, emailLoginEmailAddressService, $location, $stateParams, $window, $uibModal, $cookies) {
                this.accountService = accountService;
                this.emailLoginEmailAddressService = emailLoginEmailAddressService;
                this.$location = $location;
                this.$stateParams = $stateParams;
                this.$window = $window;
                this.$uibModal = $uibModal;
                this.$cookies = $cookies;
                this.recentEmailAddresses = [];
                accountService.CheckAuthenticationCookieExpired();
                this.emailloginid = parseInt(this.$cookies.get('emailloginid'));
                this.getRecentEmailLoginAddresses();
            }
            emailLoginEmailAddressController.prototype.getRecentEmailLoginAddresses = function () {
                var _this = this;
                this.emailLoginEmailAddressService.getEmailLoginEmailAddresses(this.emailloginid).$promise.then(function (result) {
                    _this.recentEmailAddresses = result;
                    console.log(_this.recentEmailAddresses);
                });
            };
            return emailLoginEmailAddressController;
        }());
        Controllers.emailLoginEmailAddressController = emailLoginEmailAddressController;
    })(Controllers = MyApp.Controllers || (MyApp.Controllers = {}));
})(MyApp || (MyApp = {}));
//# sourceMappingURL=../../ngApp/NgDist/controllers/emailLoginEmailAddressController.js.map