Mark Dalgleish
363e4cbf64
fix(ngModel): use paste/cut events in IE to support context menu
...
In IE the model is not updated when the input value is modified using the context
menu, e.g. pasting from the clipboard, or cutting all or part of the current value.
To capture these changes, we bind to the proprietary 'paste' and 'cut' events.
Closes #1462
2013-04-17 21:20:08 +01:00
es128
c4d5631f1a
doc(ngClassEven): make consistent with ngClassOdd
2013-04-17 14:51:41 +01:00
@fbiville
9f2aaca65b
docs(injector): fix typo in inlining example
...
The actual invoke call in the documentation was referring to the non-existent tempFn instead of tmpFn
2013-04-17 14:46:13 +01:00
austingreco
12b6deb1ce
fix(ngPattern): allow modifiers on inline ng-pattern
...
Add support for regex modifiers on inline `ng-pattern`.
`ng-pattern="/regex/i"` now validates correctly.
Closes #1437
2013-04-16 14:49:17 -07:00
Francesc Rosàs
b8f0b432fd
docs($q): fix incorrect @returns tag for $q.when()
2013-04-16 13:37:07 +01:00
Pete Bacon Darwin
0ac969a5ee
fix(ngClass): should remove classes when object is the same but property has changed
...
If you wire up ngClass directly to an object on the scope, e.g. ng-class="myClasses",
where scope.myClasses = { 'classA': true, 'classB': false },
there was a bug that changing scope.myClasses.classA = false, was not being picked
up and classA was not being removed from the element's CSS classes.
This fix uses angular.equals for the comparison and ensures that oldVal is a copy of
(rather than a reference to) the newVal.
2013-04-16 13:15:49 +01:00
Misko Hevery
58ef32308f
fix($location): fix URL interception in hash-bang mode
...
Closes #1051
2013-04-15 12:05:27 -07:00
Pete Bacon Darwin
a748410f52
docs(rootScope): fix typo
2013-04-15 11:44:49 +01:00
Laurent
c25343f8be
docs(rootScope): Fix various typos
2013-04-15 11:42:57 +01:00
Laurent
cc1e4225b7
docs(Angular.js): fix typo
2013-04-15 11:42:34 +01:00
brandonjp
c746d65857
docs(ngController): fix docs link to api/ng.$route
2013-04-13 18:24:40 +02:00
Igor Minar
ab755a25f9
fix(Scenario): correct bootstrap issue on IE
...
we need to set the deferred bootstrap flag via window.name after the iframe's
src has been set, otherwise IE will reset it to empty string
2013-04-13 00:42:51 -07:00
Misko Hevery
570463a465
fix(ngAnimate): prevent animation on initial page load
2013-04-11 23:06:07 -07:00
Misko Hevery
a0bc71e271
fix(ngRepeat): prevent initial duplicates
2013-04-11 23:06:07 -07:00
Lee Leathers
fe1696f688
style(exceptionHandler): add ws
2013-04-11 15:32:20 -07:00
winkler1
aa3acc5229
docs(animator): fix typo
2013-04-11 15:14:46 -07:00
Christoph Burgdorf
15d80af53c
docs(jqLite): clarified that children/parent do not support selectors
2013-04-11 15:11:28 -07:00
Matt Haggard
a92bb2e025
docs: fix typos
2013-04-11 15:03:59 -07:00
Brent Morrow
d521ad3ff6
docs(ngApp): fixed typo
...
Use this directive to auto-bootstrap **an** application.
2013-04-11 14:58:39 -07:00
Matias Niemelä
1351ba2632
fix(ngAnimate): skip animation on first render
2013-04-11 14:15:20 -07:00
Matias Niemelä
5476cb6e9b
feat($animator): allow to globally disable and enable animations
2013-04-11 14:15:20 -07:00
Artur Ostrega
d9d53472ec
docs(http): spelling, grammar, capitalization, etc.
2013-04-11 14:10:57 -07:00
Brent Morrow
e142687bcb
docs(angular-mocks): fix wording
2013-04-11 13:51:40 -07:00
Brent Morrow
16bfb7eea0
docs($inject): wording change
2013-04-11 13:48:04 -07:00
David Sanders
48308913bb
docs($compile): improve docs
2013-04-11 13:05:27 -07:00
Braden Shepherdson
5e0f876c39
feat(ngSwipe): Add ngSwipeRight/Left directives to ngMobile
...
These directives fire an event handler on a touch-and-drag or
click-and-drag to the left or right. Includes unit tests and docs
update. Manually tested on Chrome 26, IE8, Android Chrome and iOS
Safari.
2013-04-11 13:01:24 -07:00
Chad Whitacre
725028b07d
docs($http): fix a typo
2013-04-11 12:39:00 -07:00
Patrick
f9b63f8657
docs(animator): Fixed a typo
2013-04-11 12:15:25 -07:00
Matias Niemelä
be08c075bd
fix($sniffer): $sniffer to support non-vendor prefixes
2013-04-08 21:26:19 -07:00
Igor Minar
2ce74e547a
docs($resource): improve installation section
2013-04-04 08:57:25 -07:00
William Bagayoko
308a59bf44
fix(ngAnimator): correct polyfillSetup activation and memento generation
2013-04-03 18:42:17 -07:00
Matias Niemelä
19f1801379
docs: add animations into docs and directive examples
2013-04-03 17:40:15 -07:00
Igor Minar
fec4ef3881
feat(Scenario): autodisable animations when running e2e tests
...
animations cause the dom to contain elements that have been removed
from the model but are being animated out.
we could teach the e2e runner to wait for animations but that would
make all tests slower. it should be quite safe to just disable
animations automatically when the app is running via the e2e test
runner.
this change disables only css animations. we should make additional
change that disables js animations as well, but since we don't need
this right now I'm punting on it.
2013-04-03 17:40:15 -07:00
Misko Hevery
ecdf119a76
fix(ngShow/ngHide): revert to display:'' for show
...
Regression introduced by ngAnimation
SHA: 0b6f1ce5f8
2013-04-03 15:20:53 -07:00
Igor Minar
556f9cc35e
style(animator): style cleanup
2013-04-03 02:15:03 -07:00
Matias Niemelä
2845dd1590
feat(ngdocs): added functionality to import and extract contents of external files inside docs comment code
2013-04-02 15:52:32 -07:00
Misko Hevery
0b6f1ce5f8
feat(ngAnimate): add support for animation
2013-04-02 14:05:06 -07:00
Misko Hevery
4bfb66ce0b
chore(docs): correct few unclosed elements
2013-04-02 13:36:12 -07:00
Igor Minar
85c31e0688
docs(ngSwitch): improve the @usage example
2013-04-01 21:33:31 -07:00
Misko Hevery
61f2767ce6
feat(ngRepeat): add support for custom tracking of items
...
BREAKING CHANGE:
It is considered an error to have two items produce
the same track by key. (This was tolerated before.)
2013-03-29 23:01:52 -07:00
Matias Niemelä
5eb968553a
feat(Scope): add $watchCollection method for observing collections
...
The new method allows to shallow watch collections (Arrays/Maps).
2013-03-29 22:00:25 -07:00
Gert Goet
8dca0561e8
docs(mocks): fix typos
2013-03-29 23:24:12 +01:00
Matthew McComb
06ada222c2
docs(controller): improve $controller function doc readability
...
Improved $controller function doc readability.
2013-03-29 23:18:01 +01:00
Pascal Borreli
9480136d9f
docs(*): fixed typos
2013-03-29 23:14:55 +01:00
Sylvester Keil
4ae46814ff
feat(http): support request/response promise chaining
...
myApp.factory('myAroundInterceptor', function($rootScope, $timeout) {
return function(configPromise, responsePromise) {
return {
request: configPromise.then(function(config) {
return config
});
response: responsePromise.then(function(response) {
return 'ha!';
}
});
}
myApp.config(function($httpProvider){
$httpProvider.aroundInterceptors.push('myAroundInterceptor');
});
2013-03-27 13:13:59 -07:00
Misko Hevery
5c735eb4ab
fix(mock): prevent NPE when module definition outside of it.
2013-03-27 08:56:06 -07:00
Chirayu Krishnappa
0c72708a2b
chore($ngLocale): generate ngLocale files from the Closure code (includes datetimesymbolsext.js)
2013-03-20 15:50:07 -07:00
Jason Als
fec2909f3a
fix(ngMobile): Use bracket notation to fix minified version
...
Added aliases for minification
2013-03-20 14:21:26 -07:00
Mark Chapman
4efda14b49
refactor(ngRepeat): make use of declared variable
...
Rename unused arrayLength variable to arrayBound and use it inside loop
2013-03-20 14:16:41 -07:00
Arlen Christian Mart Cuss
821d2fddb7
chore(select): Fix ngOptions regexp capture comment.
...
Off-by-one error.
2013-03-20 11:44:17 -07:00