| Age | Commit message (Collapse) | Author |
|
the function okToGreet wasn't defined, so this example wouldn't work properly.
I've decided that instead of adding unrelated code to the example, it should just be noted that the
function is expected to be defined in the lexical scope.
Closes #5878
|
|
As discussed in comments on https://github.com/angular/angular.js/commit/42ec95ebae716c81087684b55ed8fa8c13888abc#commitcomment-5109829,
ngInit is not an element directive, so @clkao's example should reflect this.
Closes #5879
|
|
Clears up expression priority issue
Closes #3869
Closes #5873
|
|
The $log provider returns an object and not a function, so this example, which appears to be using
the $log provider, should call it as it would be called in a real-world application.
Closes #5875
|
|
Originally, this issue was regarding documenting `restrict: 'CM'` in the directive guide, but it
was pointed out that the restrict documentation is covered in the $compile documentation. Because of
this, a link was simply added to the $compile documentation.
However, the wording suggests that it's actually linking to the directive registration function, in
$compileProvider, so the docs will link there instead. There is a link only a paragraph below to the
$compile documentation, so this does not hurt.
Closes #5516
|
|
The main api docs page is probably the main landing page for many devs
looking to learn angular, so linking to the main guide pages would
likely help.
Closes #5869
|
|
Extend the example with ng-value showing how to deal with default checked radio boxes.
Closes #5654
|
|
Include mention of `ngSanitize` (and add it to the example), as well as removing (and clarifying if
needed) references to `ng-html-bind-unsafe`.
Closes #5551
|
|
The ng-change event triggers immediately, which makes a difference for text input fields and text
areas, where the JavaScript onchange event would only be called at the end of the change.
Closes #5640
|
|
unix systems
Closes #5814
Closes #5811
|
|
Lets encourage people to use semicolons in javascript :>
Closes #5834
|
|
Correction misspelling: easist -> easiest
Closes #5850
|
|
This always throws me off - I think it helps to make it clear that the class name is arbitrary, and
what matters is the .ng-etc classes.
Closes #5848
|
|
Amended to also clarify this note in the mac/linux tab.
Closes #5845
|
|
Code uses module names with '2' as suffix while the explanation used the module names without the
suffix. The diagram is correct but also does not suffix the module names.
Closes #5567
|
|
This issue has been a focus of problems for some users and we discussed it on the IRC that it should
be at least documented.
~Amended the style to use bootstrap notes, I think overall it looks better and catches the eyes more
easily. However there are no anchor links to these, if these are necessary they can be added later.
Closes #3436
Closes #5762
|
|
Closes #5813
|
|
- referring to `=attr` rather than `=prop` is consistent with note under example with =customerInfo
- change `prop` to `attr` (basically `prop` refers to property in JS object, `attr` is for HTML tag)
- change the function name in description to match the name in code example
Closes #5786
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Closes #4278
Closes #4225
|
|
|
|
|
|
animating on the same CSS class
Closes #5588
|
|
class addition and removal
When a CSS class containing transition code is added to an element then an animation should kick off.
ngAnimate doesn't do this. It only respects transition styles that are already present on the element
or on the setup class (but not the addClass animation).
|
|
presence of className tokens
|
|
Preserve URL path when switching between doc versions.
Closes #4661
Closes #5773
|
|
|
|
Send PUT and POST through copy() to make sure they are not the same.
Closes #5742
Closes #5747
Closes #5764
|
|
Closes #5769
|
|
|
|
Closes #5180
Closes #5776
|
|
|
|
add a link insie the Submitting a Pull Request section
|
|
This reverts commit 2b344dbd20777fb1283b3a5bcf35a6ae8d09469d.
I think I merged this commit prematurely and in addition to that
we found out that it's breaking google apps.
Jen Bourey will provide more info at the original PR #5681
|
|
when decrementing ttl
An infinite $digest loop can be caused by expressions that invoke a promise.
The problem is that $digest does not decrement ttl unless it finds dirty changes;
it should check also if asyncQueue is empty.
Generally the condition for decrementing ttl should be the same as the
condition for terminating the $digest loop.
Fixes #2622
|
|
Closes #5748
|
|
Closes #5734
|
|
Closes #5734
Closes #5741
|
|
Test snippet was missing this necessary statement that was present in the sample code.
Closes #5743
|
|
Closes #5738
|
|
the --> that
value --> `value`
Closes #5735
|
|
This fixes cases where the first ngView is loaded in a template asynchronously (such as through ngInclude), as the service will miss the first event otherwise.
Closes #4957
|
|
|
|
closes #5730
|