aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive
AgeCommit message (Collapse)Author
2013-10-07docs(ngValue): add docs for ngValue directiveBrian Ford
Closes #4267
2013-10-07docs(ngModel): fix grammar and improve clarityDave Peticolas
Closes #4291 Conflicts: src/ng/directive/input.js
2013-09-27docs(ngCsp): fix grammarDave Peticolas
2013-09-27docs(dblClick): fix grammarDave Peticolas
2013-09-27docs(ngDisabled): clarifyDave Peticolas
2013-09-25docs(ngHref): fix formatting and clarifyDave Peticolas
Closes #4106
2013-09-19docs(ngModelController): clarify issue with isolated scope directivePete Bacon Darwin
See #4043
2013-09-19docs(input): fix spelling error and reword for clarityts-web
2013-09-19docs(ngForm): fix grammar and improve explanationDave Peticolas
Closes #4050
2013-09-17docs(input): clarify that `contenteditable` is an HTML5 attributeJames
Closes #3841
2013-09-16doc(api): fix grammar in a directive descriptionDave Peticolas
- Add missing words. - Simplify text.
2013-09-16docs(api): fix grammar in ngClick descriptionDave Peticolas
- Add missing word 'directive'. - Add missing word 'an'.
2013-09-13docs(ngController): rephrased the description for clarityDean Sofer
2013-09-13fix(ngOptions): ignore object properties which start with $Gowtam Lal
2013-09-11docs(ngModel): provide link for best practices.Paxton Hare
Closes #3973
2013-09-05docs(booleanAttrs): improve parameter docs for boolean attributesPete Bacon Darwin
2013-08-22revert: feat(ngForm): Supports expression in form namesIgor Minar
This reverts commit 4407e81c618d42c70e8cfca4f52dfc4a669b5c68. No features or breaking changes in the stable branch please.
2013-08-21revert: fix($compile): always instantiate controllers...Igor Minar
fix($compile): always instantiate controllers in parent->child order This reverts commit 683fd713c41eaf5da8bfbf53b574e0176c18c518. It turns out that there is some existing code that relies on the incorrect timing. Rather than breaking these apps that depend on stable releases, we are going to keep this changeo only in master and the apps will need to migrate to the correc timing during the 1.2 upgrade.
2013-08-13docs(input): add missing ngChange directive for email typeDavid Bennett
All other input types already have it.
2013-08-12fix(ngCloak): hide element even when CSS 'display' is setVineet Kumar
Previously an element like <div class="foo ng-cloak">...</div> would still be annoyingly visible if it matched a CSS rule like .foo { display: inline-block; }, overriding ng-cloak's display: none.
2013-08-09docs(ngModel): validators should return undefined for invalid values.Niall Smart
Closes #3525
2013-08-08docs(ngModel): clarify docs for NgModelController#Igor Minar
Closes #3498
2013-08-07feat(ngForm): Supports expression in form namesMatthew Windwer
<form name="ctrl.form"> form controller will accessible as $scope.ctrl.form instead of $scope['ctrl.form'] BREAKING CHANGE: If you have form names that will evaluate as an expression: <form name="ctrl.form"> And if you are accessing the form from your controller: Before: function($scope) { $scope['ctrl.form'] // form controller instance } After: function($scope) { $scope.ctrl.form // form controller instance } This makes it possible to access a form from a controller using the new "controller as" syntax. Supporting the previous behavior offers no benefit.
2013-08-07fix(input): fix the email regex to accept TLDs up to 6 characters longneilmcgibbon
The input field email regex does't not match long domain extensions. This commit extends the email regexp to take a 6 character TLD. Example 6-character TLDs include .museum and .travel - (e.g. allabout.travel).
2013-07-24fix(form): pick the right attribute name for ngFormPawel Kozlowski
Closes #2997
2013-07-22fix($compile): always instantiate controllers in parent->child orderIgor Minar
Previously it was possible to get into a situation where child controller was being instantiated before parent which resulted in an error. Closes #2738
2013-07-21docs(input): fix exampleJérémy
The input [number] error spans did not show on the example, as they were relying on an non-existing property (myForm.list.$error) vs the working property (myForm.input.$error)
2013-07-21docs(ngController): remove obsolete mention of scope as `this` in controllerVineet Kumar
Controllers are now (since angular 1.0) instantiated as regular constructorsand the scope is injectable as $scope rather than being referenced as `this` in controller methods.
2013-07-11fix(ngSubmit): expose $event to ngSubmit callbackWesley Cho
2013-07-11fix(ngValue): made ngValue to write value attribute to elementMikk Kirstein
2013-07-11docs(ngList): fix example and add e2e testIgor Minar
2013-07-11style(input): remove wsIgor Minar
2013-07-08docs(ngModelController): provide a more intuitive examplePete Bacon Darwin
The example directive, using contenteditable was not showing required even if you cleared the content from it. Closes #3156
2013-07-04docs(input): ng-model doesn't work well with isolated scope directivebasarat
Closes #3123
2013-06-27docs(ngBind): clarify some of the writingAndrew Peterson
2013-06-27docs(ngPluralize): improve wordingAndrew Peterson
2013-06-13docs(select): fix typos in ngOptionsMisha Moroshko
2013-06-12docs(FormController): add methods for FormControllerDean Sofer
2013-06-12docs(ngModelController): improve $parsers/$formatters with exampleDean Peterson
2013-06-12docs(ngClass): fix minor typo.Ore Landau
2013-06-11docs(ngSubmit): clarify that there must be no `action` attributePete Bacon Darwin
2013-06-04docs(ngTransclude): fix outdated scope definition in exampleMarcin Wosinek
2013-06-04docs(ngClass): clarify the use of object mapLuc Morin
2013-06-04docs(input): provide explanation of how ngModel will affect the local scopeLuc Morin
2013-05-18doc(ngModel): $setViewValue calls all parsers, not formattersJoakim Blomskøld
2013-05-16docs(ngCsp): add more informative detailsDean Sofer
Transferred from https://github.com/angular/angular.js/wiki/Using-AngularJS-in-a-Chrome-Extension-environment
2013-05-10fix(ngPluralize): handle the empty string as a valid overrideLucas Galfasó
Fix the check for overrides so it is able to handle the empty string Closes #2575
2013-05-07fix(select): ensure empty option is not lost in IE9Chad Smith
Fix a check inside render for select elements with ngOptions, which compares the selected property of an element with it's desired state. Ensure the placeholder, if available, is explicitly selected if the model value can not be found in the option list. Without these fixes it's up to the browser implementation to decide which option to choose. In most browsers, this has the effect of displaying the first item in the list. In IE9 however, this causes the select to display nothing. Closes #2150, #1826
2013-05-07doc(input): fix small typo in code exampleHamish Macpherson
2013-04-29refact(ngClass): improve performance through bitwise operationsRobin Böhm
Change modulo % 2 operations to bitwise & 1 Read about this in Nicholas C. Zakas book "High Performance JavaScript"(ISBN: 978-0-596-80279-0) Use the Fast Parts --> Bitwise Operators --> Page 156++ Proven at http://jsperf.com/modulo-vs-bitwise/11