Answers.Body: <p>Found the problem. Debugging was turned on.  Once I turned it off "New Mailing" worked.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-07-07T03:09:38.563Z
Answers.LastActivityDate: 2016-07-07T03:09:38.563Z
Answers.UserDisplayName: Nina Gonzalez
Answers.Body: <p>We had the same problem for a Joomla install with Civi 5.7.2. Deubgging wasn't on, but Asset Caching was. Turning off Asset Caching fixed it for us.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-09T13:44:25.150Z
Answers.LastActivityDate: 2019-01-09T13:44:25.150Z
Answers.UserDisplayName: guyiac
Body: <p>I am editing this question to provide more information.  I am running CiviCRM 4.7.8 with WordPress 4.5.3. We are using php 5.6.23.</p>
  
  <p>When selecting "New Mailing" from the "Mailings" menu, the screen is blank. Using inspector and console I can see that there are more than 70 errors.  The first error is on line 270 of the angular.js file.  It seems that there is a comment in the file that is not commented out. All other errors are related to angular, mostly angular is not defined.</p>
  
  <p>So we are unable to do a new mailing. We used this feature early last week and it worked fine. We did not upgrade or install anything new. I tried to turn off extensions, but that had no impact. The extensions were installed prior so no reason to expect that is causing the problem.</p>
  
  <p>Any ideas what would cause this and how to troubleshoot.</p>
  
  <p>Update: We did a fresh install of civicrm, but that did not solve this problem. Also, we have a staging version, which is the same as production without data (a different database) and staging works, just as production worked a few days ago.</p>
  
  <p>When I go into Unscheduled reports, all of my attempts to start a new mailing are listed, but when I click the option to "Continue" I get the same error message.</p>
  
  <p><a href="https://i.sstatic.net/Q1cj9.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Q1cj9.jpg" alt="angular errors"></a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-07-07T02:20:24.963Z
Comments.Text: We had some more discussion about this on Mattermost. The page-request for fetching `angular.js` appeared to show a syntax error near some comments (e.g. the `/*` in a multiline comment was missing; perhaps a minification error?). The problem persisted even after uploading a clean copy of `angular.js`. It was unclear why `angular.js` was munged in production but not in staging.
Comments.UserDisplayName: Tim Otten
Tags: <civimail><javascript><angular>
Title: Unable to create a new mailing
ThreadText: # Unable to create a new mailing
  
  (Asked by: username_0 on 2016-07-05)
  
  I am editing this question to provide more information. I am running CiviCRM 4.7.8 with WordPress 4.5.3. We are using php 5.6.23.
  
  When selecting "New Mailing" from the "Mailings" menu, the screen is blank. Using inspector and console I can see that there are more than 70 errors. The first error is on line 270 of the angular.js file. It seems that there is a comment in the file that is not commented out. All other errors are related to angular, mostly angular is not defined.
  
  So we are unable to do a new mailing. We used this feature early last week and it worked fine. We did not upgrade or install anything new. I tried to turn off extensions, but that had no impact. The extensions were installed prior so no reason to expect that is causing the problem.
  
  Any ideas what would cause this and how to troubleshoot.
  
  Update: We did a fresh install of civicrm, but that did not solve this problem. Also, we have a staging version, which is the same as production without data (a different database) and staging works, just as production worked a few days ago.
  
  When I go into Unscheduled reports, all of my attempts to start a new mailing are listed, but when I click the option to "Continue" I get the same error message.
  
  [![angular errors](https://i.sstatic.net/Q1cj9.jpg)](https://i.sstatic.net/Q1cj9.jpg)
  
  **Tags:** civimail, javascript, angular
  
  > **Comments:**
  > **username_1**: We had some more discussion about this on Mattermost. The page-request for fetching `angular.js` appeared to show a syntax error near some comments (e.g. the `/*` in a multiline comment was missing; perhaps a minification error?). The problem persisted even after uploading a clean copy of `angular.js`. It was unclear why `angular.js` was munged in production but not in staging.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2016-07-07. Score: 3
  
  Found the problem. Debugging was turned on. Once I turned it off "New Mailing" worked.
  
  
  ---
  
  ### Answer by username_2 on 2019-01-09. Score: 1
  
  We had the same problem for a Joomla install with Civi 5.7.2. Deubgging wasn't on, but Asset Caching was. Turning off Asset Caching fixed it for us.
  
  
  ---
  
  