aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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 {...}
2013-05-08feat(ngAnimate): Add support for CSS3 Animations with working delays and ↵Matias Niemelä
multiple durations
2013-05-08feat($sniffer): Add support for supportsAnimations flag for detecting CSS ↵Matias Niemelä
Animations browser support
2013-05-08chore(ngIf): Add animation code to ngIf example and docs text to ngAnimate docsMatias Niemelä
2013-05-08feat(ngdocs): add variable type hinting with colorsMatias Niemelä
2013-05-08refactor($resource): simplify url template expansionIgor Minar
2013-05-08chore(docs): use done() in gen-docs.jsIgor Minar
2013-05-08test(sortedHtml): ignore bogus rowspan=1 and colspan=1 in IEIgor Minar
2013-05-08test(sortedHtml): fix comment support in sortedHtml helperIgor Minar
2013-05-08style($compile): clarify argument nameIgor Minar
2013-05-08fix(angular): do not copy $$hashKey in copy/extend functions.R. Merkert
Copying the $$hashKey as part of copy/extend operations makes little sense since hashkey is used primarily as an object id, especially in the context of the ngRepeat directive. This change maintains the existing $$hashKey of an object that is being copied into (likewise for extend). It is not uncommon to take an item in a collection, copy it, and then append it to the collection. By copying the $$hashKey, this leads to duplicate object errors with the current ngRepeat. Closes #1875
2013-05-08feat($cookieStore): $cookieStore.get now parses blank string as blank stringIllniyar
closes #1918
2013-05-07fix(date): correctly format dates with more than 3 sub-second digitsKevin Wells
This date {{2003-09-10T13:02:03.123456Z | date: yyyy-mm-dd ss} is now treated as having 123.45ms. Previously it had 123456ms so 123 seconds were added to the formatted date. Use local date in unit tests so they work in any time zone
2013-05-07fix(select): ensure empty option is not lost in IE9Chad Smith
Fix a check inside render for select elements with ngOptions, which compares the selected property of an element with it's desired state. Ensure the placeholder, if available, is explicitly selected if the model value can not be found in the option list. Without these fixes it's up to the browser implementation to decide which option to choose. In most browsers, this has the effect of displaying the first item in the list. In IE9 however, this causes the select to display nothing. Closes #2150, #1826
2013-05-07fix(dateFilter): correctly format ISODates on Android<=2.1Pete Bacon Darwin
In older Android browsers, `undefined` does not act like `0` in some arithmetic operations. This leads to dates being formatted with `NaN` strings in the dateFilter because the implementation of the `dateGetter` function allows offset to be an optional parameter. The fix is to convert offset to 0 if it is undefined. Closes #2277, #2275
2013-05-07doc(input): fix small typo in code exampleHamish Macpherson
2013-05-06fix($location): prevent navigation when event isDefaultPreventedMisko Hevery
2013-05-06docs(injector): add docs for $injector.hasMisko Hevery
2013-05-03feat(ngInclude): $includeContentRequested eventMatthieu Larcher
Adding a $includeContentRequested event in order to better keep track of how many includes are sent and be able to compare it with how many have finished.
2013-05-02fix($location): compare against actual instead of current URLMisko Hevery
2013-05-02fix($location): prevent navigation if already on the URLMisko Hevery
2013-05-02fix(ngAnamite): eval ng-animate expression on each animationMisko Hevery
2013-05-02feat(injector): add has method for queryingMisko Hevery
Closes #2556
2013-05-02fix(ngView): accidentally compiling leaving contentMisko Hevery
closes: #2304
2013-05-02fix(ngRepeat): correctly iterate over array-like objectsGonzalo Ruiz de Villa
Check if the object is array-like to iterate over it like it's done with arrays. Closes #2546
2013-05-02fix($rootScope) ensure $watchCollection correctly handles arrayLike objectsGonzalo Ruiz de Villa
2013-05-01fix($location): back-button should fire $locationChangeStartquazzie
Before $locationChangeStart event is not broadcast when pressing the back-button on the browser. Closes #2109
2013-05-01test(ngAnimate): also provide W3C transition property to work on IE10Pete Bacon Darwin
Closes: #2492
2013-05-01docs(injector): fix typoSiddique Hameed
Closes: #2551
2013-04-30feat(ngTap): Add a CSS class while the element is held down.Braden Shepherdson
2013-04-30test(controller): instantiate controller defined on windowVojta Jina
Just adding a missing spec.
2013-04-30fix(ngController): allow dots in a controller nameVojta Jina
The issue was introduced in cd38cbf975b501d846e6149d1d993972a1af0053
2013-04-30feat($httpBackend): add timeout support for JSONP requestsDavid Bennett
Documentation implies that timeout works for all requests, though it only works with XHR. To implement: - Change $httpBackend to set a timeout for JSONP requests which will immediately resolve the request when fired. - Cancel the timeout when requests are completed.