Rado Kirov
|
355ab5b3a6
|
feat(query): adds support for descendants and more list apis.
Additional clean up of query code.
Closes: #1935
BREAKING CHANGE:
By default Query only queries direct children.
|
2015-06-11 16:05:06 -07:00 |
|
Victor Berchet
|
20953ed492
|
doc(Directive): update docs for Directive.host
|
2015-06-11 13:11:09 -07:00 |
|
Victor Berchet
|
f3b49378e4
|
feat(Directive): Have a single Directive.host which mimics HTML
fixes #2268
BREAKING CHANGE:
Before
@Directive({
hostListeners: {'event': 'statement'},
hostProperties: {'expression': 'hostProp'},
hostAttributes: {'attr': 'value'},
hostActions: {'action': 'statement'}
})
After
@Directive({
host: {
'(event)': 'statement',
'[hostProp]': 'expression' // k & v swapped
'attr': 'value',
'@action': 'statement'
}
})
|
2015-06-11 13:11:09 -07:00 |
|
Victor Berchet
|
47b6b05017
|
doc(Directive): fix the inline doc for lifecycle events
|
2015-06-11 13:11:09 -07:00 |
|
Misko Hevery
|
2ccc65d7fd
|
fix: Improve error message on missing dependency
|
2015-06-10 16:40:38 -07:00 |
|
Peter Bacon Darwin
|
2cc2196140
|
docs(annotations_impl): fix invalid code blocks
|
2015-06-09 23:11:08 +01:00 |
|
Victor Berchet
|
29c72abcc4
|
feat(Events): allow a different event vs field name
closes #2272
closes #2344
|
2015-06-08 19:29:49 +02:00 |
|
vsavkin
|
69b75b7fd8
|
feat(view): added support for exportAs, so any directive can be assigned to a variable
|
2015-06-04 14:14:03 -07:00 |
|
Victor Berchet
|
31a3a19dac
|
doc(Visibility): fix inline docs
|
2015-06-04 09:09:11 +02:00 |
|
Naomi Black
|
d32f58926d
|
docs(ng-if): fix some missed occurrences of if, for, switch in docs
|
2015-06-02 15:30:04 -07:00 |
|
Naomi Black
|
6a0fe93ba9
|
chore(docs): fix another link broken by clang-format
|
2015-06-02 15:30:03 -07:00 |
|
Naomi Black
|
dc060e8b64
|
docs(clang): format updates
|
2015-06-02 15:30:03 -07:00 |
|
Naomi Black
|
b746e0c9f0
|
docs(docgen): tell dgeni to use ts files and fix some bad links
|
2015-06-02 15:30:03 -07:00 |
|
Victor Berchet
|
0db88f34b8
|
refactor(annotations): stricter types
|
2015-05-29 11:44:45 +02:00 |
|
Victor Berchet
|
d7df853bde
|
feat(Directive): convert properties to an array
fixes #2013
BREAKING CHANGE:
Before
@Directive(properties: {
'sameName': 'sameName',
'directiveProp': 'elProp | pipe'
})
After
@Directive(properties: [
'sameName',
'directiveProp: elProp | pipe'
])
|
2015-05-29 11:44:43 +02:00 |
|
vsavkin
|
c39c8ebcd0
|
feat(change_detection): added onInit and onCheck hooks
|
2015-05-28 16:46:22 -07:00 |
|
vsavkin
|
34cfc9f474
|
feat(di): added optional self parameter to Parent, Ancestor, and Unbounded
|
2015-05-28 09:53:06 -07:00 |
|
vsavkin
|
30b6542fc8
|
feat(core): added support for detecting lifecycle events based on interfaces
|
2015-05-27 16:23:42 -07:00 |
|
Martin Probst
|
2c25055828
|
chore: reformat the code base using the clang-format 1.0.15.
|
2015-05-27 15:28:22 -07:00 |
|
Tobias Bosch
|
cc2c8f6b00
|
refactor(test): ts’if compiler integration tests.
|
2015-05-21 17:53:53 -07:00 |
|
Tobias Bosch
|
e61d82b9be
|
refactor(core): ts’ify core
|
2015-05-20 16:30:41 -07:00 |
|
vsavkin
|
28c2b8f432
|
fix(element_injector): fixed element injector to resolve dependencies of regular services
|
2015-05-20 10:56:33 -07:00 |
|
eggers
|
7643d979c7
|
docs(annotations): fixes
|
2015-05-20 08:23:35 +02:00 |
|
vsavkin
|
b066b8d15a
|
feat(di): added hostInjector and viewInjector to the Directive annotation
|
2015-05-18 18:30:53 -07:00 |
|
vsavkin
|
7b511462af
|
refactor(core): renamed injectables into appInjector
BREAKING CHANGES
Before:
@Component({injectables: [Type]} class MyCmp{}
After:
@Component({appInjector: [Type]} class MyCmp{}
|
2015-05-18 18:30:52 -07:00 |
|
vsavkin
|
3a53f67911
|
feat(di): removed publishAs
BREAKING CHANGES
Removes the publishAs property from the Component annotation.
|
2015-05-18 18:30:52 -07:00 |
|
gdi2290
|
1d11fdecdc
|
docs(annotations): correct List for directives for Component
@Component takes a List of directives
https://github.com/angular/angular/blob/master/modules/angular2/src/core
/annotations_impl/annotations.js#L867
|
2015-05-14 08:13:54 -07:00 |
|
Victor Berchet
|
8b6fa1cf19
|
doc: fix inline docs
|
2015-05-13 11:56:51 +02:00 |
|
Misko Hevery
|
111fa60a93
|
chore: rename for to ng-for
Closes #1598
Closes #1295
Closes #1827
Closes #1827
|
2015-05-12 15:32:44 -07:00 |
|
vsavkin
|
f9c1de46b3
|
feat(compiler): added support for host actions
|
2015-05-11 13:28:19 -07:00 |
|