| Age | Commit message (Collapse) | Author |
|
|
|
When using ngIf with ngInclude on the same element, ngIf previously did not remove
elements added by ngInclude. Similarly, when using ngIfStart/End, ngIf will miss
elements added between the start/end markers added after ngIf is linked.
This commit changes the behavior of ngIf to add a comment node at the end of its
elements such that elements between the starting comment and this ending comment
are removed when ngIf's predicate does not hold.
|
|
|
|
The name of the example module is `ngView`, which might cause needless confusion.
Changed name to `ngViewExample`, which should make it clearer.
Closes #4702
|
|
Closes #4679
|
|
structural animation takes place
Closes #4435
|
|
|
|
is used
Closes #4669
|
|
|
|
Annotation allows the angular-mocks to be minified, which sometimes happens with frameworks that
automatically process files before running tests.
Also, some developers have been using this library in code for their applications.
This is not recommended as the library is only designed to support testing and not production
applications. If you are likely to want to use the code here in production you would be best
forking and maintaining your own version of the code as we will not guarantee that we won't
break the annotation of the code in the future.
Closes #4448
|
|
directives
This is a fix for regression introduced last week by faf5b980.
Closes #4654
|
|
Closes #4670
|
|
Close #4671
|
|
Closes #1569
Closes #4446
|
|
Although it is still possible to turn this on, the feature is deprecated and it is
best to remove this mention completely here.
Closes #4632
|
|
Closes #4622
|
|
Closes #4621
|
|
Closes #4611
|
|
Added documentation for `locals` parameter of `$eval` method.
|
|
Recently we changed the priority of attribute interpolation directive to -100
to ensure that it executes early in the post linking phase. This causes issues
with when terminal directives are placed on elements with attribute bindings
because the terminal directive will usually have 0 or higher priority which
results in attr interpolation directive not being applied to the element.
To fix this issue I'm switching the priority back to 100 and making moving the
binding setup into the pre-linking function.
This means that:
- terminal directives with priority lower than 100 will not affect the attribute
binding
- if a directive wants to add or alter bindings it can do so in the pre-linking
phase, as long as the priority of this directive is more than 100
- all post-linking functions will execute after the attribute binding has been
set up
- all pre-linking functions with directive priority lower than 100 will execute
after the attribute bindings have been setup
BREAKING CHANGE: the attribute interpolation (binding) executes as a directive
with priority 100 and the binding is set up in the pre-linking phase. It used
to be that the priority was -100 in rc.2 (100 before rc.2) and that the binding
was setup in the post-linking phase.
Closes #4525
Closes #4528
Closes #4649
|
|
Closes #4589
|
|
Closes #4512
|
|
Closes #4471
|
|
Closes #4451
|
|
|
|
Skip addClass animations if the element already contains the class that is being
added to element. Also skip removeClass animations if the element does not contain
the class that is being removed.
Closes #4401
Closes #2332
|
|
|
|
Add documentation that the $routeChangeError event is fired when a
route resolve promise is rejected
Closes #4447
|
|
Closes #4433
|
|
Closes #4427
|
|
When we re-enter compilation either due to async directive templates or element transclude directive
we need to keep track of controllers to instantiate during linking.
This piece of info was missing when re-entering compilation and that's what this commit fixes.
I also reordered the properties in the previousCompileContext object.
Closes #4434
Closes #4616
|
|
Closes #4424
|
|
Closes #4420
|
|
A common mistake for beginners is to attach a controller in both the
$routeProvider and also in the html document using the ng-controller
directive. This change highlights this, to help prevent developers from
doing so in the future.
Closes #4409
|
|
Now input[type=button] keeps track of both min and max attrs even if they change over time.
|
|
|
|
|
|
errors
|
|
|
|
Closes #4362
|
|
being animated
Closes #4397
Closes #4231
|
|
contains CSS transition/keyframe animation code
Closes #4463
Closes #3784
|
|
|
|
|
|
Also add `angular-csp.css` to the resulting build.
|
|
fix ngAnimate throwing exception in cancelChildAnimations on deletion of
element (ngAnimate's leave decorator) of repeated element when using
ng-include on this element.
Closes #4548
|
|
|
|
When we refactored , we broke the csp mode because the previous implementation
relied on the fact that it was ok to lazy initialize the .csp property, this
is not the case any more.
Besides, we need to know about csp mode during bootstrap and avoid injecting the
stylesheet when csp is active, so I refactored the code to fix both issues.
PR #4411 will follow up on this commit and add more improvements.
Closes #917
Closes #2963
Closes #4394
Closes #4444
BREAKING CHANGE: triggering ngCsp directive via `ng:csp` attribute is not
supported any more. Please use data-ng-csp instead.
|
|
This also contains some whitespace corrections by my editor.
|
|
This change makes `$injector.instantiate` (and thus `$provide.service`) to behave the same as native
`new` operator.
|