aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
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(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-10docs(angular.copy): clarify corner casesjakub-bochenski
The behaviour when null or undefined was passed was not clear. The exception thrown when source == destination was not documented. Closes #3946
2013-09-09docs(mock.inject): fix typoPete Bacon Darwin
2013-09-05docs(mock.inject): document underscore wrapping syntaxJasonM23
Add a summary describing the ignored underscore syntax sugar helper, with a simple use case example. Closes #3621
2013-09-05docs(booleanAttrs): improve parameter docs for boolean attributesPete Bacon Darwin
2013-09-05docs(angular.bootstrap): clarify modules parameterPete Bacon Darwin
It was not clear what you could pass to specify modules to load in the `module` parameter of this function. The `modules` parameter takes an array. The main case is to provide a String, which is the name of a "predefined" angular module. The side cases are to provide a Function (or an annotated function in the form of an Array), which will be invoked by the injector as a run block. It is not possible to "define" new modules via this parameter. Closes #3692
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-02fix($http): allow empty responses to be cachedjankuca
Closes #3809
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): correct controller instantiation...Igor Minar
fix($compile): correct controller for async directives This reverts commit 51d32243fe8cfbdcd1b647950d4e99ed57677558 as well as commit 9c51d503188efae14b81bd4d6dd7d5a3363f050f Changing ordering of events in stable branch is not a good idea.
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-20fix($compile): correct controller instantiation for async directivesChirayu Krishnappa
This fixes regression introduced by #3514 (9c51d503) - this commit is being reverted here and a better fix is included. The regression caused the controller to be instantiated before the isolate scope was initialized. Closes #3493 Closes #3482 Closes #3537 Closes #3540
2013-08-15docs($cookies): add info about angular-cookies.jsRob Dodson
per the [top comment here](http://docs.angularjs.org/api/ngCookies.$cookies#comment-912064775) updating documentation so it matches [$resource](http://docs.angularjs.org/api/ngResource.$resource) and instructs the user to include the `angular-cookies.js` and load `ngCookies`. Closes #3607
2013-08-14fix(orderBy): remove redundant if statementItsLeeOwen
Removed unnecessary additional conditional statement.
2013-08-14fix($timeout): clean deferreds immediately after callback exec/cancelAndy Gurden
Make sure $timeout callbacks are forgotten about immediately after execution or cancellation. Previously when passing invokeApply=false, the cleanup used $q and so would be pending until the next $digest was triggered. This does not make a large functional difference, but can be very visible when looking at memory consumption of an app or debugging around the $$asyncQueue - these callbacks can have a big retaining tree.
2013-08-14fix(mocks.$timeout): forward delay argumentVojta Jina
The $timeout decorator was not forwarding the delay argument to `browser.defer.flush(delay)`.
2013-08-14docs($http): added return to interceptors success callbackMikk Kirstein
2013-08-14revert: docs($interpolate): add example for the providerIgor Minar
This reverts commit 1a01e80b9cde4a711bee3e6244594b0d7e4b92a4. This example is bogus, breaks docs.angularjs.org and karma e2e tests
2013-08-13docs(input): add missing ngChange directive for email typeDavid Bennett
All other input types already have it.
2013-08-12fix($parse): move global getter out of parse.jsChirayu Krishnappa
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-12refactor(core): use native String.prototype.trim if availableSebastian Müller
2013-08-12fix(i18n): Do not transform arrays into objectsLucas Galfasó
Do not trasnform arrays into objects when generating the locale objects Add unit test for this check
2013-08-12style(sanitize): fix typo in variable namesBen Holley
2013-08-12fix(equals): {} and [] should not be considered equivalentBrenton
angular.equals was returning inconsistent values for the comparison between {} and []: angular.equals({}, []) // true angular.equals([], {}]) // false Since these object are not of the same type, they should not be considered equivalent.
2013-08-12fix($compile): don't check attr.specified on non-ie7Igor Minar
the specified attribute is depricated and creates warnings in Firefox Closes #3231 Closes #2160
2013-08-12docs($interpolate): add example for the providerEmmanuel
2013-08-12fix($q): call `reject()` even if `$exceptionHandler` rethrowsPete Bacon Darwin
Normally $exceptionHandler doesn't throw an exception. It is normally used just for logging and so on. But if an application developer implemented a version that did throw an exception then $q would never have called reject() when converting an exception thrown inside a `then` handler into a rejected promise.
2013-08-12fix(jqLite): return array from multi select in val()Eric Hagman
2013-08-09docs($compile): update directive type signatureOpherV
To avoid "Argument type Array is not assignable to parameter type function" validation error When using the minifcation-safe array style (eg .directive('myDirective', ['$http','$timeout','$compile', function($http,$timeout $compile).... ) Closes #3392
2013-08-09docs(ngModel): validators should return undefined for invalid values.Niall Smart
Closes #3525
2013-08-09docs(httpBackend): update documentation for expect methodsSanti Albo
`expect` methods can receive an Object as the data parameter, which was undocumented.
2013-08-09fix(angular.copy): change angular.copy to correcly clone RegExpAndy Hitchman
angular.copy previously copied RegExp as an empty object. Change detects RegExp instance and clones into new RegExp. This change is based on a previous fix to allow Date to be copied. Closes #3473 Closes #3474
2013-08-08docs(ngModel): clarify docs for NgModelController#Igor Minar
Closes #3498
2013-08-08fix($compile): always instantiate controllers before pre-link fns runjankuca
Controllers should be always instantiated after compile fn runs, but before pre-link fn runs. This way, controllers are available to pre-link fns that request them. Previously this was broken for async directives (directives with templateUrl). Closes #3493 Closes #3482 Closes #3514
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-08-07fix(jqLite): forgive unregistration of a non-registered handlerPawel Kozlowski
2013-08-06docs(compile): fix minor spelling mistakeMichael Stewart
Closes: #3468
2013-08-01revert: fix(location): fix parameter handling on search()Igor Minar
This reverts commit 90532f5e3c2016c99833a4dd779a5c4718c84f4d. The commit contains references to minErr that are not available in the stable branch.
2013-07-31fix(location): fix parameter handling on search()Misko Hevery
2013-07-24fix(form): pick the right attribute name for ngFormPawel Kozlowski
Closes #2997
2013-07-24fix(numberFilter): always convert scientific notation to decimalPaul Meskers
Previously, the number filter would format small and large numbers as scientific notation. It now uses toFixed() to ensure that all requested digits are shown.
2013-07-24fix($location): prevent infinite digest error due to IE bugPavel Vasek
If an app uses HTML5 mode and we open an html5 url on IE8 or 9 which don't support location href, we use location.replace to reload the page with the hashbang equivalent of the url but this fails with infinite digest. This is because location.replace doesn't update location.href synchronously on IE8 and 9. Closes #2802, #3305, #1417