aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng
AgeCommit message (Collapse)Author
2013-09-27fix(log): prevent logging `undefined` for $log in IEColin Casey
Closes #1705
2013-09-27docs(angular.Module): fix controller and directive method parametersDavid Bennett
2013-09-27docs(ngIf): formatting, clarityDave Peticolas
2013-09-27style($rootScope): fix argument name in $postDigest apiIgor Minar
2013-09-27docs(ngController): fix grammarDave Peticolas
2013-09-27docs(ngCsp): fix grammarDave Peticolas
2013-09-27docs(dblClick): fix grammarDave Peticolas
2013-09-27docs(ngDisabled): clarifyDave Peticolas
2013-09-27style($compile): remove unused variableIgor Minar
2013-09-27fix(jqLite): use get/setAttribute so that jqLite works on SVG nodesBrian Ford
jqLite previously used `elt.className` to add and remove classes from a DOM Node, but because the className property is not writable on SVG elements, it doesn't work with them. This patch replaces accesses to `className` with `get/setAttribute`. `classList` was also considered as a solution, but because only IE10+ supports it, we have to wait. :'( The JqLiteAddClass/JQLiteRemoveClass methods are now also used directly by $animate to work around the jQuery not being able to handle class modifications on SVG elements. Closes #3858
2013-09-26fix($compile): collect ranges on multiple directives on one elementjankuca
The problem was in keeping the values of `attrNameStart` and `attrNameEnd` between directive loop iterations which lead to the compiler looking for multi-element ranges for any directives that happened to be in the directive list after one that was applied on a range. For instance, having a ng-repeat-start and ng-class on a single element with ng-repeat being resolved first made the compiler look for an ng-repeat-end for both ng-repeat and ng-class because the `attrNameEnd` was not reset to a falsy value before the second iteration. As the result, an exception saying the block end element could not be found and the second directive was not actually applied. Closes #4002
2013-09-26feat(ngEventDirectives): add `ngCopy`, `ngCut`, and `ngPaste`Ben McCann
Closes #4172, #4170
2013-09-25fix($compile): work around issue in jQuery 1.10.2Brian Ford
jQuery 1.10.2 does not attach data to comment nodes, which previously broke `$compile`. This changes how elements with "transclude element" and a controller are compiled to avoid the issue. Closes #3764
2013-09-25docs(ngHref): fix formatting and clarifyDave Peticolas
Closes #4106
2013-09-25docs($http): fix adding default header to get request exampleMr.Raindrop
Initially, `$httpProvider.defaults.headers.get` is `undefined`, so `$httpProvider.defaults.headers.get['My-Header']='value'` will throw an error. Closes #4101
2013-09-25docs(ngShowHide): improve clarityDave Peticolas
Closes #4099
2013-09-25fix(ngRepeat): correctly track elements even when the collection is ↵jankuca
initially undefined Previously if the collection model was set to undefined on the first digest, the repeater would get confused and not use the correct tracking function for associating model with dom elements in the repeater. Closes #4145 Closes #3964
2013-09-20fix(ng-bind-html): watch string value instead of wrapperChirayu Krishnappa
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-20chore(sce): remove unused functionChirayu Krishnappa
2013-09-20fix(ngInclude): don't break attribute bindings on ngInclude-ed elementBrian Ford
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-20docs(ngClass): fix grammarDave Peticolas
Closes #4061
2013-09-20docs(ngCloak): fix grammar, clarityDave Peticolas
Closes #4076
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($exceptionHandler): add an example of overriding the handlerJared Forsyth
Closes #3816
2013-09-19docs(ngForm): fix grammar and improve explanationDave Peticolas
Closes #4050
2013-09-18docs(ngShowHide): fix typoRoberto Bonvallet
2013-09-17fix($parse): disallow access to window and dom in expressionsChirayu Krishnappa
2013-09-17docs(input): clarify that `contenteditable` is an HTML5 attributeJames
Closes #3841
2013-09-16docs(orderBy): fix typo in orderBy.js documentationJesse Palmer
Closes #3838
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(ngSwitch): fix minor typoDaniel Tse
Closes #3993
2013-09-13docs($browser): add jsdoc tags and fix typoBen Tesser
2013-09-13docs(ngController): rephrased the description for clarityDean Sofer
2013-09-13docs($http): add examples when calling $http outside $applyPete Bacon Darwin
Closes #3996
2013-09-13docs($http): explain why $http may not make the request immediatelyDang Nguyen Anh Khoa
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-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-11docs(scope): clean up grammar and improve claritySam Dornan
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-11style(ngForm): simplify restrict difference between form and ngFormrodyhaddad
2013-09-11docs(ngChange): remove wrong @restrict and add missing @paramrodyhaddad
2013-09-11docs(ng.directives): add correct @restrict for all ng directivesrodyhaddad
2013-09-11docs(Attributes): add missing documentation for $observe methodButch Peters
- Add proper ngdoc annotations to existing $observe documentation - Add link to directive guide for usage example of $observe - Add note about $observe function parameter signature Closes #3957
2013-09-10docs($q): clarify what happens when rejectednaorye
Closes #3943
2013-09-05docs(booleanAttrs): improve parameter docs for boolean attributesJames Daily
Closes #3724
2013-09-05docs(): parameter for html5Mode is booleanPete Bacon Darwin
2013-09-05docs($anchorScroll): provide an example of basic usage.Ben Lesh
Per a request made by Peter Bacon Darwin here: http://www.benlesh.com/2013/02/angular-js-scrolling-to-element-by-id.html?showComment=1370941217879#c8718313084813008967
2013-09-03chore($rootScope): provide support to execute a function after the digest ↵Matias Niemelä
cycle is complete
2013-09-03fix(ngAnimate): cut down on extra $timeout callsMatias Niemelä