Ha! Indeed, angularjs is essentially just javascript
To identify the library responsible for parsing cookies on the backend, check if you're using express - in which case, it's likely cookieParser. You can simply use console.log(req.cookie) to view all cookies being sent.
Creating a cookie is straightforward with this line of code: document.cookie="jwt=asdlfasdf".
If you're setting the cookie on the server (which is probable), your browser automatically handles it upon receiving the Set-Cookie header. More information about the Set-Cookie header can be found here.