// setting a user email to the ESP service with no need to enter it manually
setTimeout(function() {
var template = angular.element(document.querySelector('.pn-boilerplate'));
var espService = template.injector().get('newsletter.espService');
var templateScope = template.scope();
espService.setEmail(templateScope.user.email);
}, 500);