Freek Wielstra
171feb8fc6
docs(guide/$location): replace host.com addresses with example.com
...
The host.com links on this documentation page took you to an ad page of dubious content.
Now changed to example.com, in accordance with RFC 2606
Closes #4206
2013-10-03 21:10:47 +01:00
Pete Bacon Darwin
0f7237d764
docs(tutorial): improve wording and consistency
2013-10-03 11:58:47 +01:00
James Dunn
575f63ac50
docs(tutorial): update examples to show best practices
...
Closes #4256 , #4255 , #4254 , #4253 , #4250 , #4092
2013-10-03 10:19:19 +01:00
Chirayu Krishnappa
93ce5923e9
feat($sce): simpler patterns for $sceDelegateProviders white/blacklists
...
Closes #4006
2013-10-01 00:41:07 -07:00
James Daily
1f686c489d
fix(docs.js): handle empty deps array for plunkr/jsfiddle
...
Change return value of docsApp.serviceFactory.prepareDefaultAppModule
to include empty array `[]` instead of array containing one empty
string element `['']`.
This will correct script.js for simple plunkr/jsfiddle examples such
as [ngChecked](http://docs.angularjs.org/api/ng.directive:ngChecked ).
2013-09-30 17:52:28 -07:00
jankuca
5a1a6b86a8
fix(ngTransclude): detect ngTranslude usage without a transclusion directive
...
Closes #3759
2013-09-30 16:44:19 -07:00
Ron Waldon
106ee8f850
docs(guide): describe directive replace:false
...
Previous version stated `replace:false` will append template to element.
Improve description to accurately state that template will _replace_ the
contents of the current element.
Closes #2235 , #4166
2013-09-30 22:51:01 +01:00
Richard Sentino
d79822e73a
docs(tutorial/step0): fix minor typo
...
Closes #4154
2013-09-30 21:28:19 +01:00
Brian Ford
8727fce312
docs(minerr): add note about ngRoute in injector/modulerr
2013-09-30 11:34:49 -07:00
Dag-Inge Aas
448bd14445
fix(ngdoc): add default values to ngdoc template
...
ngDoc did not add default value to template, even though it was present
in the documentation. This change adds the default value to the
description column in the parameters table.
Closes #3950
2013-09-30 12:05:33 -04:00
Thomas Tuts
4f845437a8
docs(guide/overview): fix typo
...
Closes #4188
2013-09-28 15:04:57 +01:00
joscarsson
21527db747
docs(guide/e2e-testing): select also uses ng-model (like input)
...
This is specified for input fields, but not for selects. This change specifies it also for select().
2013-09-27 16:23:08 -07:00
Lane Goldberg
45028e5804
docs(overview.ngdoc): fix small typo in overview.ngdoc
2013-09-27 15:43:46 -07:00
Ken Sheedlo
6aaae06217
feat(docs): linkify error messages on minErr docs pages
2013-09-27 11:50:21 -07:00
Brian Ford
6cadabf910
docs(minerr): fix bad line wrap due to errand nowrap in CSS
2013-09-26 14:13:02 -07:00
Brian Ford
eea76a0ebe
docs(minerr): fix broken style from long line in nonassign
2013-09-26 14:13:02 -07:00
Pete Bacon Darwin
3b3e89d5d6
docs(guide/services): fix another typo
2013-09-26 12:52:43 +01:00
Misha Moroshko
418d7a36ff
docs(docs.css): prevent <code> elements from wrapping
...
Closes #4114
2013-09-25 22:39:28 +01:00
Michael Kueller
4beb98131a
docs(guide/services): fix typo
...
Closes #4112
2013-09-25 22:34:10 +01:00
gdennie
ba279f9464
docs(guide/$location): provide a title for section about replace()
...
Closes #4104
2013-09-25 22:30:03 +01:00
gdennie
94c8378f18
docs(guide/$location): clarify $location service role
...
Clean up confusing use of the term URL to refer to $location as well as 'URL in the browser'.
Closes #4103
2013-09-25 22:26:13 +01:00
janhartigan
8c0d5b6e80
docs(guide/e2e-testing): Fix typo
...
Closes #4100
2013-09-25 22:17:25 +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
naomiblack
04c9cae5d9
docs: update sticker ordering info in FAQ
2013-09-18 17:11:40 +02: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
Chirayu Krishnappa
be0b485669
fix($parse): disallow access to window and dom in expressions
2013-09-17 18:15:49 -07:00
Tim Statler
777ba71ffe
docs(ngdoc): fix spelling mistake
...
Closes #3836
2013-09-16 22:31:59 +01:00
Pete Bacon Darwin
d241438d49
docs(guide/bootstrap): add info about deferred bootstrap
2013-09-15 21:51:50 +01:00
ts-web
83f93889e1
docs(guide/forms): add comma for clarity
...
Closes #3985
2013-09-14 21:35:57 +01:00
brakon
f115751d54
docs(guide/e2e_testing): clarify that .enter searches by ng-model
2013-09-13 12:34:01 +01:00
cjmling
bf512bb8ee
docs(tutorial/step-10): fix incorrect link to step-8 tests
...
Closes #3972
2013-09-11 20:45:24 +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
rodyhaddad
1567440665
fix(ngdoc.js): update default directive restrict to 'A'
2013-09-11 13:28:17 +01:00
Anthony Tran
e4415d21d3
docs(forms.ngdoc): fix spacing in example
...
Closes #3930
2013-09-09 17:31:36 +01:00
Alexander Kaidalov
42a5f1e99a
docs(tutorial): fix markup for tutorial_03.png diagram
...
Closes #3707
2013-09-05 14:11:21 +01:00
Alexander Kaidalov
2dd99c3f11
docs(tutorial): fix markup for tutorial_04.png diagram
2013-09-05 14:08:33 +01:00
Pete Bacon Darwin
c66ec5413c
docs(tutorial): clarify use of inject() in step 9
...
Closes #3718
2013-09-05 13:58:21 +01:00
Nick Donohue
62ea5c3a91
docs(css_styling_guide): add ng-scope and ng-binding classes
...
I noticed angular was adding these css classes to elements and believe they
should be listed in the documentation at this page. The ng-scope class is
mentioned in the developer guide, hence the link there, and the ng-binding
class is not mentioned anywhere else in the documentation or the guide that
I found.
Closes #3728
2013-09-05 13:04:49 +01:00
Calvin Fernandez
d72fc304e0
docs(bootstrap.ngdoc): clarify bootstrap example
...
Clear up confusion about module declaration when using manual bootstrap.
2013-09-05 10:03:46 +01:00
Igor Minar
80ea36256f
chore(ngdoc): fix version number parsing for doc version switcher
2013-09-04 22:56:11 +02:00
Matias Niemelä
d11a34a351
chore(ngdocs): ensure $animate is not shared between the docs and the example applications
2013-09-03 17:06:49 -07:00
gdi2290
d73d2abe85
fix(guide) broken title overflow in navlist
2013-08-30 17:53:01 -07:00
tomazy
d9dbc6a844
docs(guide): remove duplicated require section
2013-08-29 11:40:56 -07:00
phanboy4
c7b0d8494d
docs(guide): update description of $inject mechanism to be a little clearer
2013-08-28 13:41:12 -07:00
Igor Minar
92700509c8
test(docs): disable brittle tests that need to be rewritten
2013-08-25 14:46:54 -07:00
Matias Niemelä
7c605ddf1c
fix($animate): skip ngAnimate animations if the provided element already has transitions/durations attached to it
...
Closes #3587
2013-08-23 14:04:35 -07:00
Matias Niemelä
ee2f3d21da
fix($animate): only execute a timeout when transitions or keyframe animations are used
...
ngAnimate causes a 1ms flicker on the screen when no CSS animations are present on the element.
The solution is to change $animate to only use $timeouts when a duration is found on the element
before the transition/keyframe animation takes over.
Closes #3613
2013-08-23 14:04:35 -07:00
Vojta Jina
040aa11ceb
test(docs): ignore some of the specs on IE
...
This target was never un on our Jenkins CI. Some of the specs are using animation stuff, that IE does not support, so I'm disabling them.
2013-08-23 12:43:42 -07:00
Matias Niemelä
74ae3edf86
chore(ngdocs): fix the version jumper
...
correct the ordering and make gen-docs prepare the list of versions
during the build process
2013-08-23 07:37:51 -07:00
Brian Ford
a671b0423c
docs(overview): improve grammar
2013-08-22 17:39:49 -07:00
Brian Ford
57c43dd376
docs(module): improve the installation instructions for optional modules
...
Currently, the documentation does a bad job of explaining the distinction between the services that it provides,
and the module itself. Furthermore, the instructions for using optional modules are inconsistent or missing.
This commit addresses the problem by ading a new `{@installModule foo}` annotation to the docs generator that
inlines the appropriate instructions based on the name of the module.
2013-08-22 16:55:54 -07:00
ghodss
ce669edfa1
docs(guide): warn about module creation versus retrieval
...
Updated Module documentation to include the suggestion of the top-rated comment: "This documentation should warn that "angular.module('myModule', [])" always creates a new module, but "angular.module('myModule')" always retrieves an existing reference."
2013-08-22 10:32:52 -07:00
Marcel Morgan
a3aa41888c
docs(guide): grammatical corrections to Form and Control definitions
2013-08-22 09:11:33 -07:00
gdennie
4bd8b81bb0
docs(tutorial): update step_00.ngdoc
...
Clarify the little snippet on dash vs camelCase html to directive naming pattern
Closes #3550
2013-08-21 02:26:03 -07:00
Igor Minar
c61bb52c95
docs(tutorial): fix links in step 00
2013-08-21 02:17:52 -07:00
Yang Pengcheng
2c7df1550c
Update step_00.ngdoc
...
the <a> is incorrect.
there is no space between "a" and "href"
2013-08-21 02:15:35 -07:00
rodbv
d40884d1b0
docs(tutorial): update step_07.ngdoc
...
"Orthogonal" is a strange word for those without a mathematical/CS background. "Independent" is clearer.
Closes #3641
2013-08-21 02:09:19 -07:00
Nepoxx
ad77d67cb7
fix(docs): fix diagram in tutorial/step_02
...
Removes whitespace before image tag as it caused it to be interpreted as a code block.
Closes #3668
2013-08-20 23:43:05 -07:00
James Daily
5c4ffb36de
fix(ngdocs): use cdn version to generate link to source files
...
Closes #3616
Closes #3675
2013-08-20 23:26:55 -07:00
Reto Aebersold
d307242e10
style(docs): replace CRLF by LF in svg header logo
2013-08-16 20:05:54 -07:00
Ken Sheedlo
f009962256
fix(docs): wrap error message text inside box
2013-08-16 18:07:12 -07:00
Igor Minar
35d4993c3d
chore(ngdocs): disable google analytics in e2e tests
...
GA is not needed during e2e tests, so I'm removing it to speed up the e2e test
suite.
See previous commits for more info.
2013-08-16 11:01:50 -07:00
Igor Minar
705404ff8e
chore(ngdocs): disable code prettification in e2e tests
...
code prettification is expensive and not needed for e2e tests, so I'm disabling
it to speed up the e2e test suite.
this is a temporary measure, see previous commit for more info.
2013-08-16 11:01:16 -07:00
Igor Minar
00f784cda8
chore(ngdocs): disable lunr search during e2e tests
...
lunr has been responsible for slowdown in our test suite by adding ~1sec per
end-to-end test.
(this is because it initializes the index when the app starts)
since out test suite primarily tests the examples, it's reasonable do disable
the search as a temporary meansure.
the real fix is to use protractor and extract all of the examples into
standalone apps which can be tested without bootstrapping the whole docs app.
2013-08-16 10:59:25 -07:00
Ken Sheedlo
02d42fda6d
chore(minerr): move $sce:insecurl file to sce directory
...
Closes #3568
2013-08-15 11:51:37 -07:00
ebeal
60af2ec9a4
fix(tutorial): fix broken link caused by bad line break
2013-08-14 15:45:15 -07:00
Igor Minar
96bbf729dd
test(docs): don't mock out window unnecessarily
2013-08-14 12:03:48 -07:00
Igor Minar
7215afa21c
chore(ngdocs): fixup the docs version switcher
2013-08-14 12:02:44 -07:00
Vojta Jina
670ca75c8a
test(docs): add missing createMockWindow()
...
Add missing angular.mock.createMockWindow (removed in
0dd062231a ), that the docs tests were
using.
2013-08-14 10:24:17 -07:00
Vojta Jina
d8c010ac1e
docs(tutorial): fix links to ngRoute module
2013-08-13 14:17:37 -07:00
Ken Sheedlo
1429a71474
fix(minerr): escape double quotes in error displays
...
Closes #3553
2013-08-12 16:16:39 -07:00
Igor Minar
ca92b6528a
docs(minErr): add location/ipthprfx
2013-08-12 14:09:09 -07:00
Igor Minar
2c64f3dc17
docs(minErr): add location/isrcharg docs
2013-08-12 14:09:09 -07:00
Igor Minar
72dc48ea4d
docs(minErr): add location/ihshprfx
2013-08-12 14:09:08 -07:00
Igor Minar
544d2616b4
chore($location): drop bugus error
...
we can never get to this state, so dropping the error
2013-08-12 14:09:08 -07:00
Ken Sheedlo
45dc9ee7b4
style(minerr): prefer component name as namespace
...
Closes #3527
2013-08-09 14:12:04 -07:00
Jeff Cross
3ee744cc63
fix(re-bootstrap): Throw an error when bootstrapping a bootstrapped element.
...
Nothing would prevent a user from accidentally calling angular.bootstrap on an element that had already been bootstrapped. If this was done, odd behavior could manifest in an application, causing different scopes to update the same DOM, and causing debugger confusion.
This fix adds a check inside of angular.bootstrap to check if the passed-in element already has an injector, and if so, will throw an error.
2013-08-09 13:14:12 -07:00
Brian Ford
94ec84e7b9
chore(ngMobile): rename module ngTouch and file to angular-touch.js
...
BREAKING CHANGE: since all the code in the ngMobile module is touch related,
we are renaming the module to ngTouch.
To migrate, please replace all references to "ngMobile" with "ngTouch" and
"angular-mobile.js" to "angular-touch.js".
Closes #3526
2013-08-09 11:54:35 -07:00
Jeff Cross
0b114fd3e1
fix(docs-bootstrap): Removed injector from bootstrapped docs samples
...
This is necessary to make e2e tests pass for implementing #3411 . At present, the docs are violating the rule being enforced by double-bootstrap prevention.
2013-08-09 10:19:41 -07:00
Igor Minar
b3087421f2
docs(jqLite): update the minErr codes for on() and off()
2013-08-09 00:39:31 -07:00
Ken Sheedlo
af2cda3687
fix(docs/error): make minerr ids searchable
...
Closes #3513
2013-08-08 22:42:25 -07:00
Misko Hevery
4175377aaf
docs(compile/tplrt): description for compile/tplrt error
...
Closes #3459
2013-08-08 18:58:08 -07:00
Misko Hevery
dbd703a9fb
docs(compile/selmulti): description for compile/selmulti error
...
Closes #3459
2013-08-08 17:16:46 -07:00
Misko Hevery
fa3985764c
docs(compile/nodomevents): description for compile/nodomevents error
...
Closes #3459
2013-08-08 14:45:04 -07:00
Misko Hevery
78a445fa37
docs(compile/notassign): description for compile/notassign error
...
Closes #3459
2013-08-08 14:33:16 -07:00
Misko Hevery
4e76d0469e
docs(compile/multidir): description for compile/multidir error
...
Closes #3459
2013-08-08 14:14:33 -07:00
Igor Minar
3fb80b4ea1
docs(minErr): add controller/noscp docs
2013-08-08 12:13:34 -07:00
Igor Minar
74d50f7c16
docs(minErr): add rootScope/inprog docs
2013-08-08 12:04:34 -07:00
Igor Minar
465a2937cc
docs(minErr): improve compiler/iscp
2013-08-08 11:26:56 -07:00
Igor Minar
69058bf2c4
docs(minErr): improve sce/icontext
2013-08-08 11:24:34 -07:00
Igor Minar
c7953ffb7f
docs(minErr): improve sce/iequirks doc
2013-08-08 11:23:17 -07:00
Ken Sheedlo
40d351712e
docs(minerr): add description for ngResource:badargs
...
Closes #3510
2013-08-08 11:19:25 -07:00
Brian Ford
3cde777514
docs(minErr): add minErr description for jqLite:nosel
...
Closes #3426
2013-08-08 11:11:17 -07:00
Ken Sheedlo
def7e961b4
docs(minerr): add description for ngResource:badcfg
...
Closes #3509
2013-08-08 11:08:03 -07:00
Igor Minar
e27fb4ddd6
docs(minErr): rename compile/utrat to compile/uterdir
2013-08-08 11:02:30 -07:00
Ken Sheedlo
caa71c2772
docs(minerr): add description for $compile:utrat
...
Closes #3507
2013-08-08 10:56:55 -07:00