Pete Bacon Darwin
cd36cd86fc
chore(sanitize): use minErr to throw exception
2013-07-18 14:02:36 -07:00
Pete Bacon Darwin
aad29cbbf0
chore(resource): use minErr to throw exception
2013-07-18 14:02:36 -07:00
Pete Bacon Darwin
52123ae85b
docs(jqLite): document "$destroy" event
2013-07-18 19:57:13 +01:00
Chirayu Krishnappa
3e39ac7e1b
fix($compile): allow data: image URIs in img[src]
...
Ref: 1adf29af13
BREAKING CHANGE: img[src] URLs are now sanitized via a separate
whitelist regex instead of sharing the whitelist regex with a[href].
With this change, img[src] URLs may also be data: URI's matching
mime types image/*. mailto: URLs are disallowed (and do not make
sense for img[src] but were allowed under the a[href] whitelist used
before.)
2013-07-18 11:29:50 -07:00
Matias Niemelä
e449c6df06
chore(ngdocs): fix improve button overlap
2013-07-18 18:53:20 +01:00
Andreas Sander
2bb27d4998
feat(directive): ng:focus, ng:blur
...
Added directives for focus and blur events.
Closes #1277
2013-07-18 19:24:42 +02:00
Spencer
1a8d83d660
docs($templateCache): add examples of usage
2013-07-17 16:40:51 +01:00
Bruno Coelho
c8b54ad167
docs(dateFilter): fix typos
...
Fix closing parenthesis, quotes around string literal and remove
trailing whitespace.
Closes #3250
2013-07-17 11:22:10 +01:00
James deBoer
711a493709
test(utils): Adds a missing test for snake_case
2013-07-16 11:18:04 -07:00
Ken Sheedlo
7ec926ff56
fix(writer): fix makeDir directory tree bug
2013-07-16 11:13:36 -07:00
Matias Niemelä
031da1f96b
fix($animator): ensure animations are always disabled for an element that is not attached to the DOM
2013-07-15 09:30:54 -07:00
Matias Niemelä
14626d0bc5
chore(gitignore): add libpeerconnection.log
...
Google chrome (when tested using karma) spits out a log file called libpeerconnection.log
2013-07-15 09:26:19 -07:00
Matias Niemelä
760a233703
chore(ngdocs): remove autofocus for the filtering search
2013-07-15 14:55:12 +01:00
Caio Cunha
2a5c355582
feat($q): added support to promise notification
...
It is now possible to notify a promise through deferred.notify() method.
Notifications are useful to provide a way to send progress information
to promise holders.
2013-07-14 23:11:46 -07:00
Chirayu Krishnappa
d884eb80a1
test($q): improve logging of callback invocations
2013-07-14 23:11:46 -07:00
Lucas Galfasó
a170fc1a74
feat(ngPluralize): add alternative mapping using attributes
...
Add an alternative way to define a mapping for ng:pluralize using
attributes instead of the `when` attribute
Closes #2454
2013-07-14 16:36:15 +02:00
sdesmond
1e649c5a81
docs(di): promote registering controllers on modules
2013-07-14 16:14:28 +02:00
David
d7fde5fcb1
style(ngMock): add missing whitespace
2013-07-14 16:03:57 +02:00
Igor Minar
b53c945bf5
fix(grunt): cache version number
...
caching the version number speeds up the build and preserves resources.
this also fixed EMFILE error that now occurs on some macs.
2013-07-13 23:41:47 -07:00
Ben Ripkens
724819e3cf
fix(angular.equals): add support for regular expressions
...
Regular expression objects didn't used to be considered to be equal when using
'angular.equals'. Dirty checking therefore failed to recognize a
property modification.
Closes #2685
2013-07-13 22:22:28 -07:00
Vojta Jina
32f8a04c8f
chore(package.json): fix name to work with latest NPM
2013-07-13 17:20:56 -07:00
Igor Minar
514dc0eb16
fix($http): allow interceptors to completely override headers
...
Closes #2770
2013-07-12 17:42:37 -07:00
Matias Niemelä
77c715d7ca
chore(ngdoc): wrap all pages inside of a container tag for easy styling
2013-07-12 22:43:24 +01:00
Greg Thornton
5a294c8646
feat(Angular.js): skip JSON.stringify for undefined
...
Return early in `angular.toJson` if the object to be stringified is `undefined`.
IE8 stringifies `undefined` to `'undefined'` whereas other browsers return
`undefined`. This normalizes behavior and passes currently broken unit tests
in IE8.
2013-07-12 20:32:40 +02:00
Alex Olshansky
ccda0f3509
style(ngdocs): fix minor CSS issues
2013-07-12 19:41:48 +02:00
Leandro Ostera
b94ca12fa0
feat($resource): support an unescaped URL port
...
The colon character is used to identify parameters in $resource.
This meant that we had to escape the colon used in a port.
It turns out that this is not necessary if we assume that parameter
names cannot consist of only digits.
If the parameter consists only of numbers, then it's a port.
Closes #2778
2013-07-12 10:47:46 +01:00
Stephen Merity
22a9b1ac07
fix(ngScenario): select().option(val) should prefer exact value match
...
With select(...).option(val) it previously would select the first node
which contains the value, even if an exact match was available.
This fix prefers exact matches if available, otherwise it reverts
to the previous 'contains' behaviour for backwards compatibility.
Closes #2856
2013-07-12 10:05:23 +01:00
Pete Bacon Darwin
7fef06fef9
fix(sanitize): match URI schemes case-insensitively
...
According to RFC 3986 (http://tools.ietf.org/html/rfc3986#section-3.1 )
schemes such as http or mailto are case-insensitive. So links such as
http://server/ and HTTP://server/ are valid and equivalent.
Closes #3210
2013-07-12 09:29:21 +01:00
Wesley Cho
3371fc254a
fix(ngSubmit): expose $event to ngSubmit callback
2013-07-11 17:24:30 -07:00
Mikk Kirstein
09a1e7af12
fix(ngValue): made ngValue to write value attribute to element
2013-07-11 14:58:35 -07:00
Julien Bouquillon
52d6a59902
feat(ngDocs): add links to source for API
...
- add tests
- the link points to the gruntUtil.getVersion().number tree on github
2013-07-11 14:07:08 -07:00
Paulo Scardine
8bd6619b7e
fix(scope): watches can be safely unregistered inside watch handlers
...
Closes #2915
2013-07-11 22:04:00 +01:00
Ben Holley
4e96334b5c
style(sanitize): fix typo in variable names
2013-07-11 22:48:45 +02:00
Eric Subach
a83ed0e6c3
refactor(Angular.js): remove code duplication
...
Closes #2890
2013-07-11 22:01:29 +02:00
Igor Minar
e82d780c2e
fix($injector): improve $injector:nomod error message
...
Closes #2695
2013-07-11 12:16:02 -07:00
Brian Ford
31631b2b28
chore(build): add check for merge conflicts, ddescribe, and iit
2013-07-11 11:38:34 -07:00
Igor Minar
03216760ec
test(ngList): remove disabled test
...
this test fails and we don't have intentions on making it pass since
we never made a commitment to implement this feature.
2013-07-11 11:11:35 -07:00
Igor Minar
de4b048b49
docs(ngList): fix example and add e2e test
2013-07-11 09:23:40 -07:00
sdesmond
cd11cc1083
docs(guide): clarify example
2013-07-10 22:57:26 +02:00
sdesmond
13469e83fc
docs(guide): example filter does not conditionally assign a color
2013-07-10 22:53:26 +02:00
Robert Fauver
ded42c7431
docs(guide/di): fix typo
2013-07-10 22:26:49 +02:00
Tay Ray Chuan
220f0dbcf1
docs(contribute): improve git instructions
2013-07-10 22:18:44 +02:00
Lefteris Paraskevas
899f5d1457
docs(overview): fix typo
...
Removed repeated "the" in the sentence: The input invalidates itself by turning red when you enter invalid data or leave "the" the input fields blank (Line 137).
2013-07-10 22:09:15 +02:00
Igor Minar
87aeb78c0e
style(input): remove ws
2013-07-10 12:54:49 -07:00
Mark Striemer
8a3e3f9eb3
docs(ngMock): correct verifyNoOutstandingExpectation example
2013-07-10 20:30:34 +02:00
Alex Olshansky
ead9cb7fb4
fix(ngdocs): merge duplicate css class attributes
2013-07-09 14:35:55 +01:00
Marco Vito Moscaritolo
f89ba38dcd
docs(angular.identity): fix missing 'angular' in identity function
2013-07-09 14:31:21 +01:00
bolasblack
a7150f1256
feat($http): accept function as headers value
...
So we can request with dynamic header value.
module.factory('Res', [
'$resource'
'$routeParams'
'globalConfig'
function($resource, $routeParams, globalConfig) {
resource('/url/:id', {id: "@id"}, {
patch: {
method: 'patch',
headers: {
'Authorization': function() {
return "token " + globalConfig.token;
}
}
}
});
}]);
2013-07-08 08:55:20 -07:00
Pete Bacon Darwin
0d124e190b
docs(ngModelController): provide a more intuitive example
...
The example directive, using contenteditable was not showing required
even if you cleared the content from it.
Closes #3156
2013-07-08 14:52:31 +01:00
Pete Bacon Darwin
96298f9179
docs(numberFilter): fix explanation of default fraction size
...
The default fraction size for the number filter is actually computed
from the `NUMBER_FORMATS.PATTERNS.maxFrac` value in the current locale.
Closes #3157
2013-07-08 11:23:15 +01:00