angular/aio/content
George Kalpakas 5a7ac8c3b9 build(docs-infra): avoid Karma error when loading scripts from code.angularjs.org (#36015)
In the example apps used in the `ngUpgrade` guide, the AngularJS files
are loaded in `index.html` from `https://code.angularjs.org/`. Latest
browsers prevent loading the scripts from a page running on localhost
due to CORS:

```
Access to script at 'https://code.angularjs.org/1.5.5/angular.js' from origin
'http://localhost:9876' has been blocked by CORS policy: No 'Access-Control-Allow-Origin'
header is present on the requested resource.
```

NOTE:
Loading the files from `code.angularjs.org` is not mentioned in the
guide, therefore it is not needed to mention this config change there.

PR Close #36015
2020-03-18 10:00:01 -07:00
..
cli refactor(docs-infra): remove obsolete format attribute from code examples (#31674) 2019-07-24 14:38:54 -07:00
cli-src build(docs-infra): make the git ref for cli command docs configurable (#26391) 2018-10-11 12:57:49 -07:00
examples build(docs-infra): avoid Karma error when loading scripts from code.angularjs.org (#36015) 2020-03-18 10:00:01 -07:00
guide build: depend on bazelisk rather than directly on Bazel (#36078) 2020-03-16 10:58:06 -07:00
images docs: remove old contributors (#34486) 2020-01-14 10:28:24 -08:00
marketing docs: Added ngVikings 2020 on angular.io events (#35129) 2020-03-11 14:43:47 -04:00
start fix(docs-infra): remove routerLink from top-bar (#35951) 2020-03-13 08:25:39 -07:00
tutorial docs: remove service from region where it was added before it was created (#35354) 2020-02-12 16:46:22 -08:00
file-not-found.md fix(docs-infra): do not create an anchor for the file-not-found header (#27250) 2018-12-05 13:26:26 -08:00
license.md build: bump year (#34651) 2020-01-13 07:21:43 -08:00
navigation.json docs: add documentation of NgZone with zone.js (#34295) 2020-02-26 12:42:59 -08:00