it might be a CORS issue. set Access-Control headers correctly. in controller level allow CORS domain