hi Sander 
you sure ? i haven't any error on console about CORS issue ! Usually google 
chrome loged CORS problem on inspect element

and i added this to index.html 

<!doctype html>
<html dir="rtl">
<head>
 <meta charset="utf-8">
 <title>front</title>
 <base href="/">
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <link rel="icon" type="image/x-icon" href="favicon.ico">
 <link href=
"https://cdn.rawgit.com/rastikerdar/shabnam-font/v1.1.0/dist/font-face.css"; 
rel="stylesheet" type="text/css" />
 <script src="assets/js/pub.js"></script>

  <meta http-equiv="Content-Security-Policy"
 content="default-src *;
      script-src 'self' 'unsafe-inline' 'unsafe-eval'
                  127.0.0.1:*
                  http://localhost:*
                  http://*.google.com
                  http://*.gstatic.com
                  http://*.googleapis.com
                  http://*.firebaseio.com
                  https://*.google.com
                  https://*.gstatic.com
                  https://*.googleapis.com
                  https://*.firebaseio.com
                  https://*.pinsood.com
                  https://pinsood.com
                  http://lorempixel.com
                  ;
                  img-src * data:;
      style-src  'self' 'unsafe-inline'
                 127.0.0.1
                 http://localhost
                  https://*.pinsood.com
                  http://*.google.com
                  http://*.gstatic.com
                  http://*.googleapis.com
                  http://*.firebaseio.com
                  https://*.google.com
                  https://*.gstatic.com
                  https://*.googleapis.com
                  https://*.firebaseio.com
                  http://*.lorempixel.com
">
</head>
<body>
 <app-root>Loading...</app-root>
</body>
</html>



On Monday, September 18, 2017 at 1:21:21 PM UTC+4:30, Sander Elias wrote:
>
> Hi Mohammad,
>
> I suspect a CORS issue. This is something you have to arrange for on your 
> server: https://enable-cors.org/index.html
> (Postman doesn't need that, but a browser does!)
>
> Regards
> Sander
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to