Peter Bacon Darwin
8df5f3259a
fix($compile): pass transcludeFn down to nested transclude directives
...
If you have two directives that both expect to receive transcluded content
the outer directive works but the inner directive never receives a
transclusion function. This only failed if the first transclude directive
was not the first directive found in compilation.
Handles the regression identified in e994259739
Fixes #7240
Closes #7387
2014-06-13 12:09:32 -04:00
Tero Parviainen
14e797c1a1
fix($injector): report circularity in circular dependency error message
...
Change the error message for a circular dependency to display the full
circle back to the first service being instantiated, so that the problem
is obvious. The previous message stopped one dependency short of the full
circle.
Changes the content of the cdep error message, which may be considered
a breaking change.
Closes #7500
2014-06-12 17:32:28 -07:00
Brian Ford
82cd6b87f0
docs(TRIAGING.md): clarification for issues that are not reproducable
2014-06-12 14:39:04 -07:00
Andreas Krummsdorf
6d7cc572b5
style(loader.js): correct JSDoc tags of the params of the function module(name, requires, configFn)
...
This will improve the hints for IDE's which support the Google Closure Compiler (e.g. Webstorm)
2014-06-12 13:49:33 -07:00
rodyhaddad
2ebbe00eb5
revert: style(loader.js): correct JSDoc tags of the params of the function module(name, requires, configFn)
...
This reverts commit f4c08fee85 .
2014-06-12 13:49:33 -07:00
Michal Kawalec
8b86d363aa
perf($http): move xsrf cookie check to after cache check in $http
...
$http was previously checking cookies to find an xsrf-token prior to checking
the cache. This caused a performance penalty of about 2ms, which can be very
significant when loading hundreds of template instances on a page.
Fixes #7717
2014-06-12 11:28:00 -07:00
Aiden N
9b51067516
docs(guide/bootstrap): fix link to angular.js script in example
...
code.angularjs.org/angular.js is 404, updated it
Updated http://code.angularjs.org/angular.js in the example to http://code.angularjs.org/snapshot/angular.js
It works fine now.
2014-06-12 14:24:34 -04:00
fuqcool
a3208bf66e
docs(guide/services): fix link to services api
2014-06-12 00:13:10 -04:00
Dave Wells
4e1fb82628
docs(errors/$compile/nonassing): fix reversed attribute and scope property names
2014-06-11 14:55:32 -07:00
Alexander Karpan
ad466412c6
docs(guide/services): fix link to wikipedia article containing parentheses
...
Fix in a mis-parsed link with ')' symbol in it
2014-06-10 16:11:16 -04:00
fvanderwielen
299a32740c
docs(loader): improve explanation of modules
2014-06-10 11:48:52 -07:00
Rocky Assad
eb799bcb71
chore(jshint): dedupe jshint option
2014-06-10 01:46:46 -07:00
Brian Ford
7314c1b69e
docs(tutorial/step_09): fix formatting
2014-06-10 01:42:21 -07:00
Brian Ford
fcfe2b3793
docs(tutorial/step_09): fix link to filter guide
2014-06-10 01:34:58 -07:00
Kevin Western
5e140a99c7
docs($animate): $animate.enabled's param is optional
...
The docs show that param 'element' (of type DOMElement) is required when it is optional.
2014-06-10 01:09:42 -07:00
Amar Patel
4da169d15d
docs(api/index): add Oxford comma
...
Verified grammar at https://owl.english.purdue.edu/owl/resource/607/01/
2014-06-10 00:58:02 -07:00
Dylan Semler
f37c6f9f73
docs(error/$compile/tplrt): note that html comments can cause this
2014-06-10 00:52:41 -07:00
Carl Sutherland
eae658fd96
docs(directive/input): document ngTrim for textarea
2014-06-10 00:38:14 -07:00
Matt Johansen
286f269753
docs(tutorial/step_09): note about 'Filter' suffix
...
Reminder that 'Filter' is appended to filter names when injected.
Link to Filter guide where this is mentioned.
2014-06-09 22:01:57 -07:00
Stephen Nancekivell
73640a6b7c
docs(error/$sce/unsafe): suggest including ngSanatize
2014-06-09 20:55:53 -07:00
Arjunkumar
2dc55ff5c2
docs(guide/index): add codeschool link
2014-06-09 15:50:54 -07:00
Uri Goldshtein
98a2563ec4
docs(guide): add UI-Map to Complementary Libraries
2014-06-09 14:31:49 -07:00
Uri Goldshtein
8c02122837
docs(guide): add ngTagsInput to UI Widgets
2014-06-09 14:02:34 -07:00
Joseph Orbegoso Pea
1e069532fc
docs(ngController): improve wording
2014-06-09 13:42:05 -07:00
Nikita Vasilyev
6f6f7e82a4
docs(guide/databinding): add line breaks after images
...
This looks much better, thanks a bunch @NV
2014-06-08 22:13:53 -04:00
Peter Bacon Darwin
d852122442
docs(error/$rootScope/inprog): improve understanding and diagnosis of the error
...
See #5549
2014-06-08 19:35:13 +01:00
Caitlin Potter
66cb161221
docs(CHANGELOG.md): remove mention of strict-DI
...
Strict-DI feature was originally merged into v1.2.x, but was reverted by 373078a94c
2014-06-08 02:05:35 -04:00
Sebastian Müller
6c14fb1eb6
perf(isArray): use native Array.isArray
...
see benchmark: http://jsperf.com/isarray-performance
2014-06-06 20:07:08 -04:00
Peter Bacon Darwin
e906aafb0a
docs(tutorial): mention additional Debian install step
...
Thanks to GSC Leticia (gsc-leticia) for identifying this problem.
Closes #7665
2014-06-06 21:28:13 +01:00
Peter Bacon Darwin
6acc73f3e0
chore(CHANGELOG.md): add changes for 1.2.17
v1.2.17
2014-06-06 20:13:16 +01:00
Samuel Rats
a4367ab00d
docs($http): remove duplicate 'to' in withCredentials description
...
Typo in $http config documentation
Closes #7731
2014-06-06 11:13:48 -04:00
Caitlin Potter
2e0464fba4
test($http): test that timed out $http request rejects promise
...
Closes #7688
Closes #7686
2014-06-05 20:13:00 -04:00
rodyhaddad
6ffd53ee3c
test(jqLite): adapt missed test to new expando name
2014-06-05 14:49:12 -07:00
rodyhaddad
2395bf604d
test(jqLite): adapt tests to new expando name
2014-06-05 14:30:44 -07:00
rodyhaddad
2e5fe846e3
chore(jqLite): remove special characters from the expando property
...
Having special characters in the expando property created a memory bloat.
See https://code.google.com/p/chromium/issues/detail?id=378607#c6 to reproduce
Closes #7701
2014-06-05 13:48:45 -07:00
Wes Alvaro
b6388b3f1d
docs(misc core): use @kind function instead of @function
2014-06-04 20:42:00 +01:00
Matias Niemelä
669e3aeaa8
docs(ngShow): calirfy info about the .ng-hide class and the display style
2014-06-04 15:17:14 -04:00
Matias Niemelä
55b2f0e862
fix($animate): remove the need to add display:block!important for ngShow/ngHide
...
Since ngShow/ngHide animations add and remove the .ng-hide class, having to remember
to write display:block on your own is a hassle and leads to problematic animation
code. This fix places a default on the animation for you instead.
Closes #3813
2014-06-04 15:17:14 -04:00
Richard Littauer
ca566d8d81
docs(guide/directive): explain controllerAs option
...
There was nothing about controllerAs in the developer guide.
Helps #6710 and #6759
2014-06-03 17:57:38 -07:00
Juan Manuel Palacios
b306babe29
docs(tutorial/step_12): clarify that jQuery should be loaded first
...
jQuery needs to be loaded before *all* AngularJS modules in the app,
because otherwise AngularJS will not detect the presence of jQuery and
animations will not work as expected.
2014-06-03 17:48:18 -07:00
Jake Buob
d9317cde4f
docs(tutorial/step_07): fix typo
2014-06-03 16:41:27 -07:00
Dken
23c8af232f
docs(tutorial/index): update requisite version of node
...
Not all 0.10.x support `^` in versions in `package.json`
2014-06-03 16:36:31 -07:00
Richard Littauer
2fcbd39d0b
docs(misc/faq): note that jQuery 2.x currently doesn't work with angular
2014-06-03 16:28:58 -07:00
JMRodriguez24
3ffbf202ce
docs(index/api): fix link o templates
...
Link points to templates. Modified the link label templates instead of types.
2014-06-03 16:26:01 -07:00
Tim Ruffles
09367d88c2
docs(guide/expression): fix docs re $window
...
The documentation on context is incorrect and misleading:
1. "Angular expressions must use $window explicitly to refer to the global
`window` object": expressions cannot access `$window`
1. The example doesn't actually attempt to use $window in a expression. It's in a
function called from an expression, which incorrectly implies to readers that:
1. functions ARE expressions
1. functions called by expressions can't access `window`
Here's [a plunkr](http://plnkr.co/edit/Gd4xAV?p=preview ) to make both these issues clear.
This change fixes the errors and informs the reader about Angular's `$window` etc services,
and adds an explicit example of an expression not being able to access `window`.
2014-06-03 16:21:28 -07:00
Anuj More
369f69d67a
docs(tutorial/index): fix typo
2014-06-03 16:00:00 -07:00
Oivvio Polite
9f43d02af8
docs(guide/providers): fix typo
2014-06-03 15:40:37 -07:00
Oivvio Polite
08e6b88fb2
docs(guide/providers): fix grammar
2014-06-03 14:38:31 -07:00
Isaac Shapira
9227a5db94
fix(ngAnimate): $animate methods should accept native dom elements
2014-06-02 13:58:15 -07:00
Caitlin Potter
fc6ce59cd2
chore(ngLocale): update ngLocale scripts
2014-06-02 16:23:20 -04:00