aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-05-21docs(guide/type): remove empty "Type" page in guideJens Rantil
Closes #1316
2013-05-21chore(version.js): remove unused/obsolete scriptIgor Minar
2013-05-21chore(package.json): kill version.yaml in favor of package.jsonIgor Minar
all versioning info is now in package.json and that's where the build scripts read it from
2013-05-21chore(package.json): use `devDependencies` instead of `dependencies`Dan Kohn
2013-05-20fix(ngdocs): fix gen_docs.shMatias Niemelä
2013-05-20fix(ngdocs): provide test code for syntax links in docs and fix the syntax ↵Matias Niemelä
directive for IE8
2013-05-20chore(ngdocs): move angular-bootstrap.js to be generated only inside the ↵Matias Niemelä
docs and remove from the build process
2013-05-20feat($http): add support for aborting via timeout promisesDavid Bennett
If the timeout argument is a promise, abort the request when it is resolved. Implemented by adding support to $httpBackend service and $httpBackend mock service. This api can also be used to explicitly abort requests while keeping the communication between the deffered and promise unidirectional. Closes #1159
2013-05-20docs(filters): fix minor typographical errorDaniel Tse
Fix a typographical error "it's" -> "its" in the dateFilter documentation
2013-05-20doc(guide/compiler): fix grammatical errorDavid Holmes
"The compilation process happens into two phases." should be "The compilation process happens in two phases."
2013-05-20doc(filter): remove invalid characterMisha Moroshko
2013-05-18docs(guide::testing): fix link to angular-seedPete Bacon Darwin
2013-05-18docs(ngMock::$log): improve the `$log.*.logs` descriptionsChris M
Because ngDoc generation only takes the last segment of a property name, each $log.[error|warn|log...].logs property has the same name and is confusing in the docs. This commit helps this by adding a link to the $log.* method and also an appropriate usage example.
2013-05-18doc(ngModel): $setViewValue calls all parsers, not formattersJoakim Blomskøld
2013-05-18docs(guide): add API documentation for ngScenario matchersBen Ripkens
Matchers are briefly mentioned in the e2e test guide, but there is no documentation for the available matchers.
2013-05-18docs(tutorial): update test config file nameAndrew Vida
2013-05-17doc(guide:$location): fix example for two way databinding.Jeremy Wilken
When you are watching the $location.path(), it has to be wrapped in a function since it is not attached to the scope and if you pass a string to $scope.$watch it is evaluated against the $scope.
2013-05-17test($parse): improve clarity of ternary testsZach Snow
2013-05-16chore(docs): fix syntax error in docs.cssIgor Minar
2013-05-16feat($animator): provide support for custom animation eventsMatias Niemelä
2013-05-16test($animator): ensure invalid $sniffer.transitions and $sniffer.animations ↵Matias Niemelä
flags are caught in animation spec code
2013-05-16feat(ngdocs): Add FullText search to replace Google search in docsMatias Niemelä
2013-05-16fix(jqLite): pass a dummy event into triggerHandlerJulie
Previously, anchor elements could not be used with triggerHandler because triggerHandler passes null as the event, and any anchor element with an empty href automatically calls event.preventDefault(). Instead, pass a dummy event when using triggerHandler, similar to what full jQuery does. Modified from PR #2379.
2013-05-16feat($parse): add support for ternary operators to parserZach Snow
Add '?' token to lexer, add ternary rule to parser at (hopefully) proper precedence and associativity (based on https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Operators/Operator_Precedence). Since (exp1 && exp2 || exp3) is supported by the parser, and (exp1 ? exp2 : exp3) works the same way, it seems reasonable to add this minor form of control to templates (see #719).
2013-05-16fix($resource): null default param results in TypeErrorRyan Schumacher
Fixes issue when setting a default param as `null` error `TypeError: Cannot read property 'charAt' of null`
2013-05-16feat($http): add a default content type for PATH requestsDaniel Stockton
The default header is now application/json which while not perfect in all cases is better than the browser default application/xml. The new headers also makes for better compatibility with Rails 4
2013-05-16doc(guide): add links to angular-seed examplesMatt Haggard
The examples in the angular-seed project are better than nothing, which is what we currently have here!
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-15docs(guide:understanding_controllers): remove outdated infojamesBrennan
Remove the outdated info in this document related to this API change https://github.com/angular/angular.js/blob/master/src/ng/rootScope.js#L166
2013-05-14feat(ngSrcset): add new ngSrcset directiveSamuel Santos
In line with ngSrc and ngHref, this new directive ensures that the `srcset` HTML5 attribute does not include a pre-interpolated string. Without it the browser will fetch from the URL with the literal text `{{hash}}` until AngularJS replaces the expression inside `{{hash}}`. Closes #2601
2013-05-14feat(scenario): adds mousedown and mouseup event triggers to scenarioAndreas Marek
Added mousedown and mouseup event triggers to scenadio dsl 'element' expression. Added mousedown and mouseup to the custom jquery trigger method to generate real events.
2013-05-14docs($timeout): minor cleanupSiddique Hameed
Added a comma separator in the statement Removed the word the from the statement Used whose instead of who's in the following statement Italicized false in the statement Used a comma separator in the statement
2013-05-14feat($resource): collapse empty suffix parameters correctlyGlenn Goodrich
Previously only repeated `/` delimiters were collapsed into a single `/`. Now, the sequence `/.` at the end of the template, i.e. only followed by a sequence of word characters, is collapsed into a single `.`. This makes it easier to support suffixes on resource URLs. For example, given a resource template of `/some/path/:id.:format`, if the `:id` is `""` but format `"json"` then the URL is now `/some/path.json`, rather than `/some/path/.json`. BREAKING CHANGE: A `/` followed by a `.`, in the last segment of the URL template is now collapsed into a single `.` delimiter. For example: `users/.json` will become `users.json`. If your server relied upon this sequence then it will no longer work. In this case you can now escape the `/.` sequence with `/\.`
2013-05-14feat(select): match options by expression other than object identityquazzie
Extend ng-options with a new clause, "track by [trackByExpression]", which can be used when working with objects. The `trackByExpression` should uniquely identify select options objects. This solves the problem of previously having to match ng-options objects by identity. You can now write: `ng-options="obj as obj.name for obj in objects track by obj.id"` The "track by" expression will be used when checking for equality of objects. Examples: <select ng-model="user.favMovieStub" ng-options="movie as movie.name for movie in movies track by movie.id"> </select> scope: { user: { name: 'Test user', favMovieStub: { id: 1, name: 'Starwars' } } movies: [{ id: 1, name: 'Starwars', rating: 5, ... }, { id: 13, ... }] } The select input will match user favMovieStub to the first movie in the movies array, and show "Star Wars" as the selected item.
2013-05-13feat(ngAnimate): cancel previous incomplete animations when new animations ↵Matias Niemelä
take place
2013-05-13feat(ngdocs): external links to github, plunkr and jsfiddle available for ↵Matias Niemelä
code examples
2013-05-13chore(ngdocs): update to new version of FontAwesomeMatias Niemelä
2013-05-13chore($sniffer): replace remaining supportsTransitions/supportsAnimations ↵Matias Niemelä
flags inside tests
2013-05-13docs(animation): fix code example to work with most recent ngAnimateMatias Niemelä
ngAnimate: Rename CSS classes in example code to work with new ngAnimate naming conventions ngInclude: Include animations toggle in ngInclude example code ngAnimate: Remove ms- prefix and fix up CSS animation example code
2013-05-11fix($browser): should use first value for a cookie.Chirayu Krishnappa
With this change, $browser.cookies()["foo"] will behave like docCookies.getItem("foo") where docCookies is defined at https://developer.mozilla.org/en-US/docs/DOM/document.cookie This fixes the issue where, if there's a value for the XSRF-TOKEN cookie value with the path /, then that value is used for all applications in the domain even if they set path specific values for XSRF-TOKEN. Closes #2635
2013-05-10docs($scope): clarify documentation for $broadcastwilltj
2013-05-10docs(guide): fix a typoveselinn
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-10docs(guide): fix typo on model nameAlfred Nutile
2013-05-09docs(Angular.js) move forEach docs to correct placeAlex Pods
2013-05-09style(*): fix up semicolon and var usageAnatoly Shikolay
2013-05-09docs(tutorial): add comment about injection annotationPete Bacon Darwin
Closes: #1163
2013-05-09docs($window): fix examplePete Bacon Darwin
2013-05-08fix(scenario): update to use our angular-scenario.js rather then karmaMisko Hevery
2013-05-08chore(ngAnimate): CSS classes X-setup/X-start -> X/X-activeMatias Niemelä
BREAKING CHANGE: css classes foo-setup/foo-start become foo/foo-active The CSS transition classes have changed suffixes. To migrate rename .foo-setup {...} to .foo {...} .foo-start {...} to .foo-active {...} or for type: enter, leave, move, show, hide .foo-type-setup {...} to .foo-type {...} .foo-type-start {...} to .foo-type-active {...}