I am trying to make a POST request that has a header and parameters. This is currently what my code looks like:
var login = Restangular.one('authentication/location',{Authorization:
'token'}).post({grant_type:'password', username:'[email protected]',password:
'password',scope:'my_scope'});
How do I correctly add my header and parameters using this style?