Cross-domain (CORS)
Cross Origin Resource Share, cross-domain resource sharing
This program without making any changes (client does not change the code), but when the service side requested a response Add a response header AccessControl-Allow-Origin, expressed this resource allows you to specify whether the requesting client domain.
// Allow remote access header ( 'Access-Control-the Allow-Origin: *');