I am working on a wordpress theme based on AngularJS framework, I already setup WP REST API and it is accessible from the /wp-json, My login form is ajax driven (AngularJS controller) now I am looking for a way to authenticate my users against wordpress back-end, I searched all over docs, it says cookie authentication is applicable in this case. it also talks of sending "nonce" for each parameter but there is no clue on how to send username/password for first time authentication from within ajax request. Does json rest api support sending username/password ? it seems there is no routes to it.
I think i am missing something fundamental/