aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-08-12chore(package.json): fix name to work with latest NPMVojta Jina
2013-08-12fix(grunt): cache version numberIgor Minar
caching the version number speeds up the build and preserves resources. this also fixed EMFILE error that now occurs on some macs.
2013-08-12fix(dump): Prevented window.dump from being overridden by karma-jasmine.Jeff Cross
In commit 6820322db562382fac903be35831275948825317 of Karma-Jasmine, the dependency on angular.dump was removed. This caused two undesirable side effects in the angular.js project. 1) Tests for presence of mock dump were failing, and 2) the default window.dump was not outputting valuable angular-aware info. This simple fix adds window.dump in testabilityPatch, to preprocess dumped input prior to passing it to the global dump method.
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-12docs(guide): remove superfluous });Roland
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-12chore(.gitignore): ignore npm-debug.log fileMatias Niemelä
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-12chore(bower): add a .bowerrc filejankuca
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-07chore(ngdoc): wrap all pages inside of a container tag for easy stylingMatias Niemelä
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-03docs(guide/controller): fix wording in list of 'Do not use'Mark Campbell
Wording has been changed in two of the examples to read naturally. For example: From: 'Do not use controllers for to run stateless or stateful code shared across controllers' To: 'Do not use controllers for sharing stateless or stateful code across controllers' Closes #3454
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-31docs(header): replace logo.png with logo.svgBrenton
The current logo looks awful on high-density displays. SVG is a better choice because it can scale to any resolution without increasing file size. Amending #2775 to add support for IE 8 by falling back to existing PNG with img.onerror Using relative URLs as directed by @btford and @petebacondarwin. (commit by Brenton Simpson - @appsforartists) Closes #2874 Conflicts: docs/src/templates/css/docs.css docs/src/templates/index.html
2013-07-27docs(tutorial): mention the controller along the scopeRoland
2013-07-27docs(tutorial): add formattingRoland
the string literal {{query}} was missing as it was not enclosed into ``
2013-07-27docs(tutorial): add that the test also creates a controllerRoland
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
2013-07-23docs(bootstrap): Note that ngScenario requires ngAppBraden Shepherdson
ngScenario expects an ngApp directive to be used, and doesn't work for manually bootstrapped apps. The failure mode is to hang on navigation. Trying to make this wont-fix bug less obscure by documenting it. Eventually Protractor will replace ngScenario and fix this.
2013-07-23docs(cacheFactory): correct typosSpencer
2013-07-23docs(index): add seed app link to menu itemRichard John
2013-07-22chore(dump): remove dead codeIgor Minar
This code is not being used any more and the test is now failing due to Karma changes. Karma used to expose window.dump but that changed recently and that's why our build is now failing. I'm removing the code and test, but we still need to figure out how to route window.dump through angular.mock.dump, but that will have to be a separate commit.
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-21docs($window): improve style and clarify wordingDavid Sanders
2013-07-18docs(jqLite): document "$destroy" eventPete Bacon Darwin
2013-07-18chore(ngdocs): fix improve button overlapMatias Niemelä
2013-07-17docs($templateCache): add examples of usageSpencer
2013-07-17docs(dateFilter): fix typosBruno Coelho
Fix closing parenthesis, quotes around string literal and remove trailing whitespace. Closes #3250
2013-07-16test(utils): Adds a missing test for snake_caseJames deBoer
2013-07-15chore(gitignore): add libpeerconnection.logMatias Niemelä
Google chrome (when tested using karma) spits out a log file called libpeerconnection.log
2013-07-15chore(ngdocs): remove autofocus for the filtering searchMatias Niemelä
2013-07-14docs(di): promote registering controllers on modulessdesmond
2013-07-14style(ngMock): add missing whitespaceDavid
2013-07-13fix(angular.equals): add support for regular expressionsBen Ripkens
Regular expression objects didn't used to be considered to be equal when using 'angular.equals'. Dirty checking therefore failed to recognize a property modification. Closes #2685 Conflicts: test/AngularSpec.js