I have dealt with it a different way... In my base controller I have a getRequest() function that returns the post data from angular:
public function getRequest() {
return json_decode(file_get_contents("php://input"));
}
This is something I also dealt with when building a Yii application last year. Good to know about the header solution too!