BZ-8623: added setCookie method to noesis.Utils. FYI - The AngularJS
$cookies provider doesn't let you touch 'expires' and 'path'