2078 Commits

Author SHA1 Message Date
Nic Mitchell 8541d25ded chore(*): update copyright year
Closes #15573
2017-01-04 12:25:39 +02:00
Georgios Kalpakas a580f8132b docs(guide/$location): correctly format heading 2017-01-03 22:41:42 +02:00
Soumya Ranjan Mohanty b4581e3e99 docs(guide/services): fix syntax for Jasmine v2.x
Closes #15570
2017-01-03 16:17:01 +02:00
Deco 1cf93fd2b0 docs(tutorial/step_04): fix typo
Closes #15562
2016-12-31 12:32:52 +02:00
Naomi Black 4993728819 docs(guide/forms): remove implicit bias from example
Closes #15543
2016-12-23 11:44:23 +02:00
Peter Neave 32e656b769 docs(tutorial/step_13): add missing dependency phoneDetails module
Closes #15521
2016-12-19 21:10:02 +02:00
idhindsight 6d0ff9fb7f docs(tutorial/step_09): fix typo (it's --> its)
Closes #15485
2016-12-10 22:28:37 +02:00
ojab a3cd7d8011 docs(guide/templates): camelCase directive name for consistency
Closes #15465
2016-12-02 23:41:46 +02:00
Martin Staffa 3a767a9943 chore(doc-gen): render @example tag in ngdoc @method
Currently, ngdoc `@method` ignores `@example` tags and does not output them.
This is usually not a problem, as examples are mostly defined directly
in the `@description` via code blocks or `<example>`
elements. However, some methods still have `@example` tags (possibly
from a previous docs version).

While not absolutely necessary, having special markup for Examples
makes them a) easier to find visually in the docs, and b) easier
to link to as they will have a unique id.

Closes #14722
Closes #15448
2016-12-02 18:29:51 +01:00
Peter Bacon Darwin b748046c04 docs(contribute): mention nvm-windows 2016-11-29 14:43:42 +00:00
Peter Bacon Darwin 3ecaccf719 docs(FAQ) add link to security guide 2016-11-29 14:43:41 +00:00
Peter Bacon Darwin ebd841165d docs(ComponentRouter): it is unlikely ever to appear on bower or CDN 2016-11-29 14:43:41 +00:00
Peter Bacon Darwin 0f001786d8 style(*): fix no-useless-escape eslint errors 2016-11-29 14:43:40 +00:00
Peter Bacon Darwin 97eca91927 docs(*): switch from npm to yarn 2016-11-29 14:39:33 +00:00
Peter Bacon Darwin 3821e8a951 chore(dependencies): USE YARN (and node 6) 2016-11-29 14:39:32 +00:00
Martin Staffa 1f61f30799 docs($compile, guide/compiler): add "double compilation" known issue
Related #15278
Closes #15392
2016-11-24 09:37:59 +00:00
Georgios Kalpakas 8d644bd066 docs(guide/directive): minor wording and styling fixes 2016-11-24 09:37:59 +00:00
Georgios Kalpakas 2791a855a6 docs(error/ng:areq): fix typo 2016-11-24 09:37:59 +00:00
Karthikeyan bbe8ad5698 docs(error/ng:areq): mention common error cause
Closes #15414
2016-11-24 09:37:59 +00:00
Peter Bacon Darwin d1bbc2562d chore(docs): deprecation notices for methods and properties
Closes #15351
Closes #15394
2016-11-24 09:37:59 +00:00
Peter Bacon Darwin e19ad74ea4 chore(docs): bring in all templates from dgeni-packages 2016-11-24 09:37:59 +00:00
Arturo Romero 7586fa2b86 docs(guide/Forms): add labels to input elements
Closes #15403
2016-11-24 09:37:58 +00:00
Peter Bacon Darwin 4836278830 chore(docs): improve version picker
Closes #15385
2016-11-24 09:37:58 +00:00
kentwalters a41efb2025 docs(guide/controller): change "hides" to "shadows"
"Shadows" should better convey the meaning of "overwriting the value of the property in the child
scope, while leaving the parent scope intact".
"Hides" could give the impression that it makes the property unavailable in the child scope and
leaving "overrides" only, could give the impression that the parent scope would be affected too,
especially to people not familiar with JavaScript's prototypal inheritance.

Closes #15375
2016-11-24 09:37:58 +00:00
sathify f9354dc099 chore(docs): apply consistent css property spacing 2016-11-24 09:37:58 +00:00
sathify 7648811a94 chore(docs): use $document[0] 2016-11-24 09:37:58 +00:00
Martin Staffa e1c683be52 fix(docsApp): show correct version number in api index
Previously, the index would show the version of Angular that runs on
the page, not the version for which the docs are. This meant that in
that snapshot docs the stable version was displayed.

The `$scope.docsVersion` value was used in the plnkr opening code, but
has not been used since https://github.com/angular/angular.js/commit/bdec35cebc89e0d80a04eeffbd71ad999fc7e61a.

Closes #15265
2016-11-24 09:37:58 +00:00
Michał Gołębiowski 6c8450206e chore(*): switch URLs from npmcdn.com to unpkg.com
The domain changed, the old one redirects to the new one.
2016-11-24 09:37:58 +00:00
Josh Soref bcc44f13e5 docs(*): fix typos
* a
* allows
* angularytics
* animate
* architecting
* asynchronously
* attribute
* back
* browser
* callback
* component
* delimited
* dependencies
* dynamically
* empty
* encoded
* explicitly
* expression
* fails
* guarantees
* hierarchy
* highlight
* identifiers
* immediately
* infinite
* initialized
* inputting
* instance
* interprets
* linking
* location
* misformed
* numerically
* occurring
* overridden
* overwritten
* parameters
* Pluralsight
* precedence
* primitive
* properly
* prototypically
* representation
* response
* separately
* separator
* should
* specifying
* supported
* template
* thrown
* transclude
* transclusion
* transitions
* trigger
* useful
2016-11-24 09:37:58 +00:00
Martin Staffa 7b997ffa13 chore(docs-app): improve layout when loading partials
By setting the current partial content to hidden, the current height
of the window is maintained until the new content is loaded.
This prevents flickering caused by the scrollbar (dis)appearing and
the footer coming into view.
2016-11-24 09:37:57 +00:00
Erik Smith 89f2be1c10 docs(guide/production): fix typo ("3rd part" --> "3rd party")
Closes #15328
2016-11-24 09:37:57 +00:00
Allan Watson 600509bb67 docs(orderBy): clarify behavior of default comparator wrt null
Document how `orderBy`'s default comparator handles `null` values.

Fixes #15293

Closes #15304
2016-11-24 09:37:57 +00:00
emed 9aae7e8bb6 docs(error/ueoe): add another possible cause
Mention unescaped quotes as another possible cause for this error.

Closes #15313
2016-11-24 09:37:57 +00:00
Martin Staffa 48dfeb2006 Revert "chore(doc-gen, docs-app): create plnkr examples with correct Angular version"
This patch relies on a change in the dgeni example package, which
has not been added yet.

This reverts commit 0a2b72360d.
2016-11-24 09:37:57 +00:00
Martin Staffa ffa46b95b9 chore(docs-app): show loader when loading view / partial
Closes #14385
PR (#15280)
2016-11-24 09:37:57 +00:00
Martin Staffa fddc534a13 chore(doc-gen, docs-app): create plnkr examples with correct Angular version
When the docs are based on the snapshot, the plnkr examples must use the snapshot files
from code.angularjs.org

Closes #15267
PR (#15269)
2016-11-24 09:37:57 +00:00
Georgios Kalpakas ee2e36d810 chore(tutorial): make diagram images responsive
Fixes angular/angular-phonecat#376

Closes #15275
2016-11-24 09:37:57 +00:00
Vincent Gillot 49dce2ea4b docs(guide/component-router): fix typo ($routeOnReuse --> $routerOnReuse)
Closes #15224
2016-11-24 09:37:56 +00:00
Peter Bacon Darwin 2316ad7be9 chore(doc-gen): improve version dropdown info 2016-11-24 09:37:55 +00:00
GregoryPorter 5a4e4e928e docs(tutorial): fix typos
- **step_04:** `controllers is one file` --> `controllers in one file`
- **step_06:** `.components.js` --> `.component.js`

Closes #15197
2016-11-24 09:37:55 +00:00
pharkare 6aeb442db4 docs(tutorial/index): fix spelling error for word 'standalone'
PR (#15187)
2016-11-24 09:37:55 +00:00
Elliot Cameron 6c0fd3e26f docs(guide/filter): imrpove explanation of "pure function"
Improve the explanation of what a "pure function" is in simple words. The previous explanation
could be confusing, especially since the term "idempotent" (here used in it's broader
"Computer Science" meaning) is overloaded and has much stricter semantics in Mathematics or pure
Functional Programming.

Closes #15173
2016-11-24 09:37:54 +00:00
Joao Dinis 57ef6a9237 docs(guide/concepts): insert comma
Closes #15166
2016-11-24 09:37:54 +00:00
thorn0 9449893763 fix($compile): bindToController should work without controllerAs
Fixes #15088

Closes #15110
2016-11-24 09:37:54 +00:00
Austin O'Neil af4a44cbaf docs(guide/component): clarify when to use directives instead of components
Clarify that components cannot be used to perform actions in compile
and prelink functions.

Closes #15042
PR (#15100)
2016-11-24 09:37:53 +00:00
Martin Staffa 8455d2a797 docs(error/noident): add missing comma
Closes #15086
2016-11-24 09:37:53 +00:00
Packt 609e807b04 docs(guide/External Resources): add a paid-online course
Closes #15075
2016-11-24 09:37:53 +00:00
Jason Bedard 31d464feef perf($compile): validate directive.restrict property on directive init
This allows the removal of try/catch from addDirective to avoid V8 deopt.

Previously the directive.restrict property was not validated. This would
potentially cause exceptions on each compilation of the directive
requiring a try/catch and potentially causing repeated errors.

New validation when directive.restrict is specified:
* must be a string
* must contain at least one valid character (E, A, C, M)

Cases which previously silently failed (now throw an error):
* values with an indexOf method (such as strings, arrays) which returned
 returned -1 for all valid restrict characters

Cases which previously worked unintentionally (now throw an error):
* arrays with single-character strings of valid restrict characters

PR (#13263)
2016-11-24 09:37:53 +00:00
Georgios Kalpakas 6bb775ccd1 docs(tutorial/step_03): improve explanation of camel-/kebab-casing
Related to #15051.
2016-11-24 09:37:52 +00:00
Wei Wang a4a22266f1 feat($location): add support for selectively rewriting links based on attribute
In HTML5 mode, links can now be selectively rewritten, by setting `mode.rewriteLinks` to a string
(denoting an attribute name). Anchor elements that have the specified attribute will be rewritten,
while other links will remain untouched.

This can be useful in situations where it is desirable to use HTML5 mode without a `<base>` tag, but
still support rewriting specific links only. See #14959 for more details on a possible usecase.

Closes #14976
2016-11-24 09:37:52 +00:00