(function($, pm) {

    pm.directive('[data-plenty-checkout-form="customerLogin"]', function(i, elem, AuthenticationService) {
        $(elem).on('submit', function () {
            plenty = pm.getInstance();
            AuthenticationService.customerLogin();
            return false;
        });
    });

}(jQuery, PlentyFramework, ["AuthenticationService"]));
(function($, pm) {

    pm.directive('[data-plenty-checkout-form="customerLogin"]', function(i, elem, AuthenticationService) {
        $(elem).on('submit', function () {
            AuthenticationService.customerLogin();
            return false;
        });
    }, ["AuthenticationService"]);

}(jQuery, PlentyFramework));
FIX move service injection to function directive
FIX move service injection to function directive
