Pete Bacon Darwin
f8f8f754b0
fix(ngScenario): fix error message description
2013-09-25 09:46:32 +01:00
Boris Serdyuk
6c59e77008
refactor(angular.toJson): use charAt instead of regexp
...
Provides a performance improvement when serializing to JSON strings.
Closes #4093
2013-09-23 11:16:16 +01:00
Chirayu Krishnappa
e2751292da
test(ng-non-bindable): test sibling bindings
...
Ref: https://github.com/angular/angular.dart/blob/master/test/directives/ng_non_bindable_spec.dart
2013-09-20 23:55:23 -07:00
Chirayu Krishnappa
e2068ad426
fix(ng-bind-html): watch string value instead of wrapper
...
Ref: https://github.com/angular/angular.js/pull/4045
I have this sinking feeling that support this use case sort of
encourages binding to function that blindly trust some html. For now,
I'm fixing the issue while I think about the use cases some more.
In the case of a function that performs any non-trivial work before
wrapping the value (e.g. the showdown filter in issue #3980 , or the
binding to a simply wrapper function in issue #3932 if it did anything
meaty), this fix makes it "work" - but performance is going to suck -
you should bind to some other thing on scope that watches the actual
source and adjusts itself when that changes (e.g. the showdown filter.)
For the case of the wrapper in #3932 , if one isn't performing
sanitization or some such thing - then you the developer has insight
into why that value is safe in that particular context - and it should
be available simply by name and not as a result of a function taking any
arbitrary input to make auditing of security a little saner.
Closes #3932 , #3980
2013-09-20 16:30:20 -07:00
Chirayu Krishnappa
3ed094d142
chore(sce): remove unused function
2013-09-20 15:41:57 -07:00
Brian Ford
5eb1fb6cb2
fix(ngInclude): don't break attribute bindings on ngInclude-ed element
...
BREAKING CHANGE: ngInclude's priority is now set to 1000
It's quite rare for anyone to depend on explicity directive priority,
but if a custom directive that needs to run before ngInclude exists,
it should have its priority checked and adjusted if needed.
Closes #3793
2013-09-20 14:11:12 -07:00
Igor Minar
255e8c13cf
fix(ngView): IE8 regression due to expando on non-element nodes
...
This fixes the "TypeError: Object doesn't support this property or method" error on IE8,
when view templates contain leading white-space.
Closes #3971
2013-09-20 13:55:16 -07:00
Dave Peticolas
88317a2888
docs(ngClass): fix grammar
...
Closes #4061
2013-09-20 20:47:13 +01:00
Dave Peticolas
602e226d36
docs(ngCloak): fix grammar, clarity
...
Closes #4076
2013-09-20 20:45:19 +01:00
Pete Bacon Darwin
f12c61e984
docs(ngModelController): clarify issue with isolated scope directive
...
See #4043
2013-09-19 21:08:37 +01:00
ts-web
72ad746b85
docs(input): fix spelling error and reword for clarity
2013-09-19 20:27:59 +01:00
Dave Peticolas
2468974a53
doc(ngApp): fix grammar
2013-09-19 20:17:26 +01:00
Jared Forsyth
666705c0a4
docs($exceptionHandler): add an example of overriding the handler
...
Closes #3816
2013-09-19 14:51:38 +01:00
Pete Bacon Darwin
c20b569dbe
docs(FAQ): update jQuery compatibility
2013-09-19 14:11:37 +01:00
Pete Bacon Darwin
3b8b0eb1fb
docs(guide/services): rewording of explanation
2013-09-19 12:48:06 +01:00
anilgulecha
910788ed9c
docs(guide/services): explain services in plain language
...
See the discussion at http://docs.angularjs.org/guide/dev_guide.services.understanding_services#comment-1002821035
Closes #4055
2013-09-19 12:17:28 +01:00
Maarten Stolte
80ab7eaf15
docs(guide/i18n): change non-existent de-ge to de-de
...
The de-ge locale does not exist
Closes #4053
2013-09-19 11:06:59 +01:00
Dave Peticolas
a1c4f6fbb7
docs(ngForm): fix grammar and improve explanation
...
Closes #4050
2013-09-19 10:28:34 +01:00
naomiblack
04c9cae5d9
docs: update sticker ordering info in FAQ
2013-09-18 17:11:40 +02:00
Tim Statler
2fb36cbd50
docs(ngResource): fix typo
...
Closes #3835
2013-09-18 14:40:22 +01:00
Roberto Bonvallet
2dcbec6c06
docs(ngShowHide): fix typo
2013-09-18 14:37:36 +01:00
Ash
bda87f606f
docs(guide/$location): describe workaround for collocated apps
...
When using Angular in the root of a domain with HTML5 URLs
where there are links to external paths within the same directory,
the `otherwise` route handler will catch these external files.
This can be fixed by prefixing '.' onto the links to URLs that should
be handled by angular routing.
Original Issue: #3520
Example of Fix: http://fiddle.jshell.net/fgHf6/3/
Closes #3555
2013-09-18 14:34:04 +01:00
Zachary Friedman
47dff0f3db
docs(tutorial/step_03): add info about karma-ng-scenario plug-in
...
The existing documentation for this step could have people find themselves
unable to run the `e2e-test.sh` script. This note added regarding
`karma-ng-scenario` will minimize their confusion and allow people to run
the script.
Closes #4033
2013-09-18 12:43:58 +01:00
Hubert SABLONNIÈRE
3589f17824
fix(scenario): include "not " in error messages if test is inverted
...
Closes #3840
2013-09-18 12:16:42 +01:00
Chirayu Krishnappa
be0b485669
fix($parse): disallow access to window and dom in expressions
2013-09-17 18:15:49 -07:00
Chirayu Krishnappa
4b71bbc988
fix(test): fixed toThrow usage
2013-09-17 16:13:25 -07:00
Pete Bacon Darwin
265f0b5225
fix(build): get promise A+ tests to run on windows
2013-09-17 13:38:52 +01:00
James
4aa9d2aa1e
docs(input): clarify that contenteditable is an HTML5 attribute
...
Closes #3841
2013-09-17 11:43:53 +01:00
Tim Statler
777ba71ffe
docs(ngdoc): fix spelling mistake
...
Closes #3836
2013-09-16 22:31:59 +01:00
Jesse Palmer
62e6b4eeb6
docs(orderBy): fix typo in orderBy.js documentation
...
Closes #3838
2013-09-16 22:29:12 +01:00
Dave Peticolas
d206f3d2ad
doc(api): fix grammar in a directive description
...
- Add missing words.
- Simplify text.
2013-09-16 16:36:05 +01:00
Dave Peticolas
bd478db770
docs(api): fix grammar in ngClick description
...
- Add missing word 'directive'.
- Add missing word 'an'.
2013-09-16 16:24:25 +01:00
Pete Bacon Darwin
d241438d49
docs(guide/bootstrap): add info about deferred bootstrap
2013-09-15 21:51:50 +01:00
Patrick Drechsler
3328d33ed0
docs(guide): fix typo in animation doc
2013-09-14 21:48:11 +01:00
ts-web
83f93889e1
docs(guide/forms): add comma for clarity
...
Closes #3985
2013-09-14 21:35:57 +01:00
Umur Kontacı
3b5fd53e2d
docs(ngRoute): add missing parameter to $routeChangeError
...
The first parameter in $routeChangeError is the event object.
Closes #3986
2013-09-14 21:34:16 +01:00
Daniel Tse
da3dc5c5fe
docs(ngSwitch): fix minor typo
...
Closes #3993
2013-09-13 21:56:53 +01:00
Ben Tesser
1b5217b1d6
docs($browser): add jsdoc tags and fix typo
2013-09-13 21:37:14 +01:00
Dean Sofer
a53d197db3
docs(ngController): rephrased the description for clarity
2013-09-13 14:23:32 +01:00
Pete Bacon Darwin
2bb0e1a604
docs($http): add examples when calling $http outside $apply
...
Closes #3996
2013-09-13 14:17:47 +01:00
Dang Nguyen Anh Khoa
b15686cb79
docs($http): explain why $http may not make the request immediately
...
I came across this issue today and after researching has found out this thread on so:
http://stackoverflow.com/questions/17039998/angular-not-making-http-requests-immediately .
It took me quite sometimes to figure out this so I hope the addition in documentation could save somebody else some times and frustration.
2013-09-13 13:41:32 +01:00
Gowtam Lal
aa3c54c73f
fix(ngOptions): ignore object properties which start with $
2013-09-13 12:48:19 +01:00
brakon
f115751d54
docs(guide/e2e_testing): clarify that .enter searches by ng-model
2013-09-13 12:34:01 +01:00
Woody Peterson
64e7b7774e
test($browser): correct false positive in ApplicationSpec.js
...
Previously, the check that Application should return a new $window and
$document had the arguments reversed in the first call to navigateTo;
thus, the subsequent check of inequality of $window and $document in the
next navigateTo call would always pass.
This corrects the argument order, which makes this test not succeptible
to false positives.
2013-09-11 22:19:24 +01:00
R. Merkert
21e9e8cf68
fix(ngSanitize): sanitizer should not accept <!--> as a valid comment
...
According to http://validator.w3.org/ , <!--> is not a valid comment
and neither is any comment containing the -- substring.
2013-09-11 22:40:09 +02:00
cjmling
bf512bb8ee
docs(tutorial/step-10): fix incorrect link to step-8 tests
...
Closes #3972
2013-09-11 20:45:24 +01:00
Paxton Hare
4a0f052242
docs(ngModel): provide link for best practices.
...
Closes #3973
2013-09-11 20:41:47 +01:00
Randi Hillerøe
c0886be148
docs(guide/concepts): remove div-clear-tags that break the formatting
...
Closes #3974
2013-09-11 20:37:34 +01:00
Sam Dornan
f86395aadf
docs(scope): clean up grammar and improve clarity
...
Some typos fixed and grammar improved:
- withing -> within
- life-cycle -> life cycle
- extraneous spaces
- grammar mistakes
- missing commas
- reworded unclear statements
Closes #3920
2013-09-11 13:56:56 +01:00
rodyhaddad
c0db11c607
style(ngForm): simplify restrict difference between form and ngForm
2013-09-11 13:28:17 +01:00