Blog in AngularJS and PHP, with CRUD and Basic authentication