CakePHP 3 and AngularJS integration - CORS setup

But this one is for CakePHP 2 right? I’m using CakePHP 3 as backend.