title: Protractor tests won't run on Angular 4 site without waitForAngularEnabled(false)
body: <p>I have a website under test which is built with Angular 4.</p>
  
  <p>My protractor tests won't run on them unless I specify <code>waitForAngularEnabled(false)</code> or <code>ignoreSynchronization = true</code>. </p>
  
  <p>I have verified with the developer and the tech lead that the site is fully Angular. </p>
  
  <p>Developer said that even though the site is developed with Angular, to the browser it is sent as a 'bundle'. (I am not sure what it means in dev terms).</p>
  
  <p><strong>Below is my spec file:</strong></p>
  
  <pre><code> describe('****** Home Page Tests', function() {
          var frontpage = require("./Front_page.js");
  
          beforeEach(function() {
              browser.waitForAngularEnabled(true)
              browser.get('mytesturl',50000);
              frontpage.Front_page_link.click()
  
          })
  
          it('Should go to **** page', function(){
  
              frontpage.Journey_button.click()
              browser.getCurrentUrl().then(function(url){
                  expect(url).toContain('journey/get-started')
              })
          })
  
      });
  </code></pre>
  
  <p><strong>Below is my config file:</strong></p>
  
  <pre><code>    var Jasmine2HtmlReporter = require('protractor-jasmine2-html-reporter');
  
  
  exports.config = {
      seleniumAddress : 'http://localhost:4444/wd/hub',
      restartBrowserBetweenTests: false,
      //framework: 'jasmine2',
  
      specs : [ 'spec.js' ],
  
      onPrepare : function() {
  
          browser.driver.manage().window().maximize()
          jasmine.getEnv().addReporter(new Jasmine2HtmlReporter({
              savePath : 'target/screenshots'
          }));
      },
  
      allScriptsTimeout : 50000,
  
  
      jasmineNodeOpts : {
          showColors : true,
          defaultTimeoutInterval : 100000,
          isVerbose : true
      }
  
  };
  </code></pre>
  
  <p><strong>This is the error I get:</strong></p>
  
  <pre><code>Failed: script timeout: result was not received in 50 seconds
  </code></pre>