Go to file
Martin Probst f86edae9f3 feat(security): add an HTML sanitizer.
This is based on Angular 1's implementation, parsing an HTML document
into an inert DOM Document implementation, and then serializing only
specifically whitelisted elements.

It currently does not support SVG sanitization, all SVG elements are
rejected.

If available, the sanitizer uses the `<template>` HTML element as an
inert container.

Sanitization works client and server-side.

Reviewers: rjamet, tbosch , molnarg , koto

Differential Revision: https://reviews.angular.io/D108
2016-05-09 16:00:24 +02:00
.github Update ISSUE_TEMPLATE.md 2016-03-23 12:53:10 -07:00
modules feat(security): add an HTML sanitizer. 2016-05-09 16:00:24 +02:00
modules_dart repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
scripts chore: fail build if a command from tsc-watch fails. 2016-05-04 20:30:10 -07:00
tools chore: fail build if a command from tsc-watch fails. 2016-05-04 20:30:10 -07:00
typing_spec chore(test.typings): instrument against examples folder 2016-03-24 19:25:07 +00:00
.bowerrc chore(dgeni): clean up legacy typings bundle creation 2015-10-29 21:19:59 +00:00
.clang-format feat(tooling): Add a .clang-format for automated JavaScript formatting. 2015-04-02 08:44:34 -07:00
.editorconfig chore(.editorconfig): include markdown config 2015-01-27 00:14:48 -08:00
.gitattributes chore: add .gitattributes with new lines config 2015-01-06 18:06:13 -08:00
.gitignore fix(compiler): support css stylesheets in offline compiler 2016-05-02 15:06:46 -07:00
.nvmrc build(node): upgrade to node 5.4.1 2016-01-22 03:25:34 +00:00
.travis.yml build: adding basic e2e testing infrastructure 2016-05-02 08:15:10 -07:00
CHANGELOG.md docs(changelog): add changelog for rc.1 2016-05-04 01:12:40 -06:00
COMMITTER.md chore(docs): update the merge process docs 2015-12-23 02:32:02 +00:00
CONTRIBUTING.md docs(CONTRIBUTING.md): clarify the difference between build and ci commit message scopes 2016-03-05 19:54:22 +00:00
DEVELOPER.md docs(developer): add linting instructions 2016-02-02 11:34:00 -08:00
LICENSE Update change from Apache to MIT license 2016-01-08 13:41:58 -08:00
NAMING.md refactor(ngProbe): rename to ng.probe 2015-08-31 21:32:10 +00:00
README.md chore: align badges in README.md 2016-04-30 08:47:49 -07:00
TOOLS.md feat(docs): document change detection profiler 2015-09-04 16:38:53 -07:00
TOOLS_DART.md fix(docs): fix an import in TOOLS_DART.md 2015-12-17 23:30:44 +00:00
TOOLS_JS.md chore(core): remove @View annotation 2016-03-14 23:26:20 +00:00
TRIAGE_AND_LABELS.md chore(docs): explain the process for merging changes to master 2015-08-11 21:28:46 +00:00
bower.json fix(benchmarks): update react and polymer benchmarks and get tree update numbers for all of the benchmarks as well. 2015-10-28 13:17:01 -07:00
browser-providers.conf.js repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
build.sh refactor(compiler_cli): move it into modules/@angular and integrate properly into the build 2016-05-03 15:57:49 -07:00
circle.yml fix(circle): pre-dependencies `npm install npm` 2016-02-01 11:26:25 -08:00
gulpfile.js chore(compiler): Run compiler_cli tests in new CI. 2016-05-02 22:39:32 -06:00
karma-js.conf.js refactor(compiler_cli): move it into modules/@angular and integrate properly into the build 2016-05-03 15:57:49 -07:00
npm-shrinkwrap.clean.json chore: remove ts-metadata-collector from shrinkwrap 2016-05-04 12:29:47 -07:00
npm-shrinkwrap.json chore: remove ts-metadata-collector from shrinkwrap 2016-05-04 12:29:47 -07:00
npm-shrinkwrap.readme.md build(npm): add tools/npm/reshrinkwrap script and update docs 2016-01-22 03:25:33 +00:00
package.json chore: remove angular2-template-compiler from package.json 2016-05-03 16:25:55 -07:00
perf-cloud-secret.template.js refactor(build): support multiple configurable browsers for e2e and perf tests 2015-01-20 13:06:37 -08:00
presubmit.sh chore: clang-reformat 2016-05-01 22:59:41 -07:00
protractor-dart2js.conf.js chore: rename modules/examples to modules/playground 2015-10-18 11:48:43 +00:00
protractor-ddc.conf.js chore(ddc): add e2e test infra + first test 2016-03-22 22:09:33 +00:00
protractor-js-dev.conf.js chore(test): setup a gulp task for quickly running e2e tests against the dev server 2015-06-11 16:58:32 -07:00
protractor-js-new-world.conf.js chore: router move import changes 2016-05-02 13:27:03 -07:00
protractor-js-prod.conf.js chore(build): add a task to watch and render examples and e2e tests for production 2015-06-19 18:57:41 -04:00
protractor-js.conf.js build: adding basic e2e testing infrastructure 2016-05-02 08:15:10 -07:00
protractor-shared.js chore(build): use Chromium in Travis for JS tests 2016-03-01 11:24:44 -08:00
publish-packages.sh build: add licensing preamble to umd bundles 2016-05-03 13:59:30 -06:00
pubspec.yaml chore(test): migrate Dart tests to package:test 2016-03-04 02:27:44 +00:00
shims_for_IE.js repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
test-main.js chore: router move import changes 2016-05-02 13:27:03 -07:00
test.sh chore: add test script for compiler_cli 2016-05-04 12:14:43 -07:00

README.md

Build Status Join the chat at https://gitter.im/angular/angular Issue Stats Issue Stats npm version Downloads

Sauce Test Status

Angular

Angular is a development platform for building mobile and desktop web applications. This is the repository for Angular 2, both the JavaScript (JS) and Dart versions.

Angular 2 is currently in Beta.

Quickstart

Get started in 5 minutes.

Want to help?

Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.