Go to file
Miško Hevery 2c09b707ce refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371)
Ivy definition looks something like this:

```
class MyService {
  static ngInjectableDef = defineInjectable({
    …
  });
}
```

Here the argument to `defineInjectable` is well known public contract which needs
to be honored in backward compatible way between versions. The type of the
return value of `defineInjectable` on the other hand is private and can change
shape drastically between versions without effecting backwards compatibility of
libraries publish to NPM. To our users it is effectively an `OpaqueToken`.

By prefixing the type with `ɵ` we are communicating the the outside world that
the value is not public API and is subject to change without backward compatibility.

PR Close #23371
2018-04-13 16:20:25 -07:00
.circleci build: update Bazel dependency to 0.11.1 (#23297) 2018-04-10 23:01:30 -07:00
.github docs(aio): add new sections to issue template (#23304) 2018-04-11 13:47:57 -07:00
aio docs(aio): Update file tree to match Angular CLI V6 structure (#23367) 2018-04-13 14:19:16 -07:00
docs build: fix bazel stamping (#22965) 2018-03-28 09:00:02 -07:00
integration fix(compiler-cli): shorten resolved module name in fileNameToModuleName to npm package name for typings (#23231) 2018-04-13 00:19:19 -07:00
modules refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371) 2018-04-13 16:20:25 -07:00
packages refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371) 2018-04-13 16:20:25 -07:00
scripts refactor: ensure all 'TODO's are consistent (#23252) 2018-04-13 13:11:01 -07:00
tools refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371) 2018-04-13 16:20:25 -07: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: force lf EOL for ts files (#11143) 2016-08-29 12:41:58 -07:00
.gitignore build: update Bazel dependency to 0.11.1 (#23297) 2018-04-10 23:01:30 -07:00
.mailmap build: add a Git .mailmap with my new name (#19550) 2017-10-09 14:35:30 -07:00
.nvmrc build: update node version number in .nvmrc (#20832) 2017-12-12 11:56:18 -08:00
.pullapprove.yml build: add robwormald to pullapprove (#23002) 2018-04-12 22:36:12 -07:00
.travis.yml ci: remove bazel job from Travis (#22170) 2018-02-13 10:25:51 -08:00
BUILD.bazel feat(elements): add schematics (#23298) 2018-04-11 18:13:30 -07:00
CHANGELOG.md docs: add changelog for 6.0.0-rc.4 2018-04-12 00:36:29 -07:00
CODE_OF_CONDUCT.md docs: fix community tab in GitHub by copying CoC 2018-02-27 19:02:30 -08:00
CONTRIBUTING.md feat(elements): add support for creating custom elements (#22413) 2018-03-16 12:39:07 -07:00
LICENSE docs(common): update copyright years (#21232) 2018-01-04 17:45:36 -05:00
README.md docs: remove broken issuestats.com badges (#21334) 2018-01-05 14:43:18 -05:00
WORKSPACE fix(compiler): use correct global name in compiler.umd.js (#23354) 2018-04-13 00:13:54 -07:00
bower.json docs: branding fixes (#14132) 2017-01-27 15:03:11 -06:00
browser-providers.conf.js build: remove required BrowserStack run as it fails with “Access denied” (#19769) 2017-10-17 15:51:40 -07:00
build.sh feat: update the package output of build.sh to APF v6 (#22808) 2018-03-18 09:33:51 -07:00
gulpfile.js test: migrate remaining public-api tests to Bazel (#22639) 2018-03-09 09:11:40 -08:00
karma-js.conf.js feat(elements): add schematics (#23298) 2018-04-11 18:13:30 -07:00
package.json build: fix buildifier path (#23350) 2018-04-13 00:50:04 -07:00
protractor-e2e.conf.js refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
protractor-examples-e2e.conf.js refactor: format and lint code 2016-12-12 11:30:25 -08:00
protractor-perf.conf.js refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
shims_for_IE.js Revert "refactor: add license header to JS files & format files (#12035)" 2016-10-04 14:06:41 -07:00
test-events.js fix(platform-browser): run BLACK_LISTED_EVENTS outside of ngZone (#18993) 2017-09-05 15:33:22 -05:00
test-main.js feat(core): upgrade rxjs to 6.0.0-alpha.4 (#22573) 2018-03-19 21:51:51 -07:00
test.sh docs: update available platforms for `test.sh` (#22958) 2018-03-23 14:01:45 -04:00
tslint.json build: add lint rule for global flags in rollup config (#20028) 2017-10-30 23:09:16 -04:00
yarn.lock feat(elements): add schematics (#23298) 2018-04-11 18:13:30 -07:00
yarn.lock.readme.md build: switch from npm to yarn (#19328) 2017-09-22 13:20:52 -07:00

README.md

Build Status CircleCI BrowserStack Status Join the chat at https://gitter.im/angular/angular npm version

Sauce Test Status

Safari (7+), iOS (7+) and IE mobile (11) are tested on BrowserStack.

Angular

Angular is a development platform for building mobile and desktop web applications using Typescript/JavaScript and other languages.

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.