aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-08-09style(minerr): prefer component name as namespaceKen Sheedlo
Closes #3527
2013-08-09chore($q): rename `promise.always` to `promise.finally`Brian Ford
BREAKING CHANGE: the `always` method has been renamed to `finally`. The reason for this change is to align `$q` with the Q promises library, despite the fact that this makes it a bit more difficult to use with non-ES5 browsers, like IE8. `finally` also goes well together with `catch` api that was added to $q recently and is part of the DOM promises standard. To migrate the code follow the example below: Before: $http.get('/foo').always(doSomething); After: $http.get('/foo').finally(doSomething); or for IE8 compatible code: $http.get('/foo')['finally'](doSomething);
2013-08-09fix(re-bootstrap): Throw an error when bootstrapping a bootstrapped element.Jeff Cross
Nothing would prevent a user from accidentally calling angular.bootstrap on an element that had already been bootstrapped. If this was done, odd behavior could manifest in an application, causing different scopes to update the same DOM, and causing debugger confusion. This fix adds a check inside of angular.bootstrap to check if the passed-in element already has an injector, and if so, will throw an error.
2013-08-09chore(ngMobile): rename module ngTouch and file to angular-touch.jsBrian Ford
BREAKING CHANGE: since all the code in the ngMobile module is touch related, we are renaming the module to ngTouch. To migrate, please replace all references to "ngMobile" with "ngTouch" and "angular-mobile.js" to "angular-touch.js". Closes #3526
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-09fix(docs-bootstrap): Removed injector from bootstrapped docs samplesJeff Cross
This is necessary to make e2e tests pass for implementing #3411. At present, the docs are violating the rule being enforced by double-bootstrap prevention.
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-09chore($compile): remove bogus scope/controller checkIgor Minar
We already have the same test in $controller which is called just a few lines above Closes #3517
2013-08-09feat($q): add shorthand for defining promise error handlersbolasblack
Now we can instead this promise.then(null, errorHandler) with this promise.catch(errorhandler) Closes #2048 Closes #3476
2013-08-09docs(jqLite): update the minErr codes for on() and off()Igor Minar
2013-08-09fix(jqLite): properly detect unsupported calls for on()/off()Igor Minar
2013-08-08chore(grunt): fix up the help text for the new test commandsMatias Niemelä
Closes #3421
2013-08-08fix(grunt): ensure all dependent tasks are called for all test taskMatias Niemelä
Close #3421
2013-08-08fix(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(docs/error): make minerr ids searchableKen Sheedlo
Closes #3513
2013-08-08fix(jqLite): throw when jqLite#off called with 4 argsKen Sheedlo
Closes #3501
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-08docs(compile/tplrt): description for compile/tplrt errorMisko Hevery
Closes #3459
2013-08-08docs(compile/selmulti): description for compile/selmulti errorMisko Hevery
Closes #3459
2013-08-08docs(compile/nodomevents): description for compile/nodomevents errorMisko Hevery
Closes #3459
2013-08-08docs(compile/notassign): description for compile/notassign errorMisko Hevery
Closes #3459
2013-08-08docs(compile/multidir): description for compile/multidir errorMisko Hevery
Closes #3459
2013-08-08docs(minErr): add controller/noscp docsIgor Minar
2013-08-08docs(minErr): add rootScope/inprog docsIgor Minar
2013-08-08docs(minErr): improve compiler/iscpIgor Minar
2013-08-08docs(minErr): improve sce/icontextIgor Minar
2013-08-08docs(minErr): improve sce/iequirks docIgor Minar
2013-08-08docs(minerr): add description for ngResource:badargsKen Sheedlo
Closes #3510
2013-08-08docs(minErr): add minErr description for jqLite:noselBrian Ford
Closes #3426
2013-08-08docs(minerr): add description for ngResource:badcfgKen Sheedlo
Closes #3509
2013-08-08docs(minErr): rename compile/utrat to compile/uterdirIgor Minar
2013-08-08docs(minerr): add description for $compile:utratKen Sheedlo
Closes #3507
2013-08-08docs(minErr): improve sce/isecurl docIgor Minar
2013-08-08docs(minErr): rename sce/isecrurl to sce/insecurlIgor Minar
2013-08-08docs(minErr): improve sce/itype.ngdocIgor Minar
2013-08-08docs(ngModel): add link to NgModelControllerIgor Minar
2013-08-08docs(minErr): add minErr description for $compile:ctreqBrian Ford
Closes #3423
2013-08-07docs(minerr): fill in error message descriptionsKen Sheedlo
Errors I've documented so far: - `$injector:cdep` - `$injector:itkn` - `$injector:modulerr` - `$injector:nomod` - `$injector:pget` - `$injector:unpr` - `ng:areq` - `ng:cpi` - `ng:cpws` - `ngModel:noass` Closes #3430
2013-08-07fix(jqLite): return array from multi select in val()Eric Hagman
2013-08-07test(matchers): support 'not' text in toBeHidden matcherChirayu Krishnappa
2013-08-07docs(ngClass): updated the example with string, map and array syntaxJamund Ferguson
Closes #3084
2013-08-07docs(minerr): add description for $rootScope:infdigKen Sheedlo
2013-08-07chore(bower): add a .bowerrc filejankuca
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(compile): fix directive as identifierChirayu Krishnappa
2013-08-07docs(ngRoute): make config block for the routeProvider example explicitDavid Mosher
2013-08-07chore(dump): fix our karma.dump bridgeIgor Minar
previously it didn't work for dumping multiple objects
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).