AuthenticationController.js 469 Bytes
'use strict';

AIA.controller("AuthenticationController",["$scope", "$log", "$location", "$timeout", "AuthenticationService",
    function ($scope, $log, $location, $timeout, AuthenticationService) {
        $scope.IsAuthenticated = false;

        $scope.login = function () {
            alert('called controller');
            $scope.IsAuthenticated = AuthenticationService.authenticateUser('superadmin', 'education');
        }
        
    }]
);