vsavkin
04baa46efe
fix(di): removed default visibility
...
BREAKING CHANGE:
Directives will use the Unbounded visibility by default, whereas before the change they used Self
2015-07-13 16:00:07 -07:00
Peter Bacon Darwin
2e4a2a0e5a
chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags
2015-07-11 07:21:46 +01:00
vsavkin
0ed5dd0d7b
fix(di): hostInjector and viewInjector support nested arrays
2015-07-09 15:03:38 -07:00
vsavkin
b54e7214f0
chore: removed angular2.api.ts
...
BREACKING CHANGE:
We export InjectMetadata instead of InjectAnnotation
2015-07-09 13:54:07 -07:00
vsavkin
569766fa8b
refactor(di): added support for custom dep providers
2015-07-07 08:27:54 -07:00
vsavkin
f0e962c55e
feat(di): removed app injector
...
BREAKING CHANGE:
THe appInjector property has been removed. Instead use viewInjector or hostInjector.
2015-07-01 13:33:43 -07:00
vsavkin
22d3943831
refactor(di): unified di injector and core injector
...
BREAKING CHANGES:
* InjectAsync and InjectLazy have been removed
* toAsyncFactory has been removed
2015-06-26 15:59:18 -07:00
vsavkin
fa7a3e3449
cleanup: explicitly export symbols from di, cd, forms
2015-06-19 16:59:40 -07:00
Naomi Black
5a52c0b71d
docs(di): fix missing export for dgeni docgen
2015-05-22 21:47:34 -07:00
Tobias Bosch
8aa3fcfb63
chore(build): don’t include `export var __esModule = true` in every file
...
But do it during the build process for cjs.
Right now we only need this when we transpile from ts
directly to es5. This is only the case in our
cis build, as for our browser build we only transpile
from ts to es6 via ts and then use traceur to do
the rest.
2015-05-19 15:12:59 -07:00
vsavkin
b066b8d15a
feat(di): added hostInjector and viewInjector to the Directive annotation
2015-05-18 18:30:53 -07:00
Misko Hevery
1eea2b254e
feat: allow for forward references in injection
...
It is possible for a class defined first to be referencing a class defined later,
and as a result at the time of the definition it is not possible to access the later's
class reference. This allows to refer to the later defined class through
a closure.Closes #1891
2015-05-15 21:12:57 -07:00
yjbanov
358a6750ed
feat(di): support type literals in DI
2015-05-12 10:57:53 -07:00
vsavkin
cb87fa0970
chore(build): migrated di to TypeScript
2015-05-06 19:00:56 -07:00