aboutsummaryrefslogtreecommitdiffstats
path: root/docs
AgeCommit message (Collapse)Author
2013-02-27feat($compile): support for dynamic template generationLuis Ramón López
`template` and `templateUrl` properties can now be optionally defined via a function. This allows templates to be dynamically generated on the fly.
2013-02-27feat($compile): add attribute binding support via ngAttr*Luis Ramón López
Sometimes is not desirable to use interpolation on attributes because the user agent parses them before the interpolation takes place. I.e: <svg> <circle cx="{{cx}}" cy="{{cy}}" r="{{r}}"></circle> </svg> The snippet throws three browser errors, one for each attribute. For some attributes, AngularJS fixes that behaviour introducing special directives like ng-href or ng-src. This commit is a more general solution that allows prefixing any attribute with "ng-attr-", "ng:attr:" or "ng_attr_" so it will be set only when the binding is done. The prefix is then removed. Example usage: <svg> <circle ng-attr-cx="{{cx}}" ng-attr-cy="{{cy}}" ng:attr-r="{{r}}"></circle> </svg> Closes #1050 Closes #1925
2013-02-25feat(JQLite): ready() now supports document.readyState=='complete'Jørgen Borgesen
JQLite.ready() used for automatic bootstrapping (when jQuery is not present) now checks if document already is ready when first called. This simplifies bootstrapping when the angular script is loaded asynchronously. However if other scripts with angular app code are being loaded as well it is developers responsibility to ensure that these scripts are loaded after angular-loader.js is evaluated and before angular.js script is evaluated.
2013-02-25docs(guide/directives): update obsolete doc referenceVineet Kumar
Replace an obsolete reference to a nonexistent "Creating Widgets" section with a real link to "Creating Components".
2013-02-25feat($compile): '=?' makes '=' binding optionalLuis Ramón López
If you bind using '=' to a non-existant parent property, the compiler will throw a NON_ASSIGNABLE_MODEL_EXPRESSION exception, which is right because the model doesn't exist. This enhancement allow to specify that a binding is optional so it won't complain if the parent property is not defined. In order to mantain backward compability, the new behaviour must be specified using '=?' instead of '='. The local property will be undefined is these cases. Closes #909 Closes #1435
2013-02-14docs(guide): fix some invalid javascript in directive documentationDylan Pyle
Use double quotes to maintain consistency with other HTML
2013-02-14docs(guide): Fix typos in concepts/model,view.Jesse Cooke
2013-02-11chore(docs): improve docs parser typeIgor Minar
previously we barfed on function type definition with optional arguments like {function(number=)} this fixes it I also added a bunch of code that helps to debug incorrectly parsed docs.
2013-02-06docs(guide): remove stale info about filters changing DOMIgor Minar
as of v0.10.6 this is not the case any more
2013-02-06docs(tutorial): remove extra back-tick characterThomas Schultz
2013-02-06docs(module): fix code exampletheotheo
2013-02-04docs(contributing): add CLA anchor for deeplinkingIgor Minar
2013-01-29docs(tutorial): fix typoradu
Update docs/content/tutorial/step_00.ngdoc removed redundant verb
2013-01-18docs(contribute): adding npm install to step-by-stepWill Moore
npm install is listed in the dependencies section of the contribute guide but is missing from the step-by-step. This adds it as step 4.
2013-01-18docs(cookbook): change prototype methods to scope methods in BuzzAmir H. Hajizamani
As explained in 'Understanding the Controller Component', Controllers written for new (post 1.0 RC) versions of Angular need to add methods to the scope directly, not the function's prototype. Correcting this example should remove any ambiguity, especially for beginners.
2013-01-18docs(guide): change prototype methods to scope methods in DI examplesAmir H. Hajizamani
As explained in 'Understanding the Controller Component', Controllers written for new (post 1.0 RC) versions of Angular need to add methods to the scope directly, not the function's prototype. Correcting this example should remove any ambiguity, especially for beginners.
2013-01-17doc(guide): Fixed typos at the unit tests guideShai Reznik
2013-01-17doc(guide): Fix examples of $location.html5modeShai Reznik
2013-01-17docs: recommend using Google CDNDaniel Demmel
2013-01-17docs(guide): minor grammar fixesMatt Rohrer
2013-01-17chore(docs): use done() instead of end() in gen-docs.jsIgor Minar
2013-01-13doc(directive): Fix typos in dialog widgetLucas Galfasó
Fixes #1799
2013-01-09Update docs/content/misc/faq.ngdocnaomiblack
Updated the canonical video to a recent one. Fixed a typo.
2013-01-07docs(guide): fix typos in unit test guidekim lokoy
2013-01-05docs(forms): fix code example for a custom form controlPawel Kozlowski
Closes #1021
2013-01-04docs(faq): add info on logo reuse and how to get t-shirts and stickersnaomiblack
2012-12-31docs(guide): change example controller to properly call greet method on greeterMatt Hardy
2012-12-19docs(guide): minor English corrections to the Directive guideJohn Fletcher
2012-12-18docs(directive): old syntaxMiško Hevery
2012-12-11feat(docs): Add angularjs tag to plunks and make privateggoodman
This is a minor edit to allow Plunks created by way of the docs.angularjs.org site to be appropriately tagged as `angularjs`. Also, make these generated Plunks private by default.
2012-12-10docs(guide): fix injector service code exampleRomain Neutron
Fix syntax and update code to the latest API
2012-12-08docs(tutorial): typo fix commandx -> commandEric Case
2012-12-07doc(concepts): Fix typo in $render() functionJános Rusiczki
2012-11-29docs(directive): correct expression, fix typo and re-wrap linesDaniel Luz
2012-11-29fix(docs): add missing </div> tag to sourceEdit directive templateJohannes Hansen
2012-11-28docs(menu): fix the navbar drop down linksIgor Minar
2012-11-21docs(): Fix a couple of typos in the documentationKris Jenkins
2012-11-17docs(guide/concepts): some typo/grammar fixesDave Clayton
2012-11-17docs(guide/directive): fix typoJohn Hume
2012-11-11docs(guide): fix run-on sentence in modules guideJamison Dance
2012-11-11docs(tutorial): change module name in step-7Jamison Dance
2012-11-11docs(guide/directive): fix names in scope '='; easier to grokTim Macfarlane
2012-11-11chore(docs): fix docs-scenario.htmlIgor Minar
2012-11-11chore(docs): remove obsolete gae filesIgor Minar
2012-11-05Update docs/content/guide/directive.ngdocMiško Hevery
docs(directive): fix typo
2012-10-31chore(testacular): use local testacular versionSudhir Jonathan
Making testacular a dependency to avoid having to install it globally. (Causes npm issues on some machines)
2012-10-31docs(guide/location): fix table formattingFred Sauer
Fix table formatting so headings are bold, rows are separated by lines, and rows have :hover style
2012-10-31docs(module): fix typo in exampleTim Macfarlane
fixed example app, `simpleAppModule` should have been `myAppModule`.
2012-10-31docs(contribute): fix task name for continuous testingDaniel Luz
2012-10-31fix(docs): correctly generate filenames for plunkr/fiddleIgor Minar
previously examples like $http where broken because we would strip part of the filename (http-hello.html -> http) we really want to strip only the id suffix that we append to disambiguate common filenames (like index.html) which appear in many examples.