Top put the app in development:

Top do the development:

make the php function  check_permission return true

and in the Angular App make the X-WP-Nonce as some thing else like X-WP-Nonce-changed