aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
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-08refactor($resource): simplify url template expansionIgor 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-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-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.
2013-04-30style($injector): add a comment to explain the distinction with isArrayRobin Böhm
2013-04-30docs($provide): fix parentheses in exampleEugene Wolfson
2013-04-29feat(ngdocs): support for HTML table generation from docs codeMatias Niemelä
2013-04-29fix(ngController): change controllerAlias to controllerAs.Misko Hevery
2013-04-29fix(parse): Fix context access and double function callLucas Galfasó
Fix a context duplication and invocation to a previous context when doing an access modifier function on the result of a function Currently, when doing `foo().bar()`, `foo` is called twice, the first time to get the context and the second one for `bar` to get the underlying object. Then the call to `bar` is called using the second instance as self This is equivalent to doing: ``` var instance1 = foo(); var instance2 = foo(); instance2.bar.apply(instance1); ``` Closes #2496
2013-04-29fix(jqLite): correct implementation of mouseenter/mouseleave eventgockxml
Implement mouseenter/mouseleave event referring to http://www.quirksmode.org/js/events_mouse.html#link8 and jQuery source code(not dependent on jQuery). The old implementation is wrong. When moving mouse from a parent element into a child element, it would trigger mouseleave event, which should not. And the old test about mouseenter/mouseleave is wrong too. It just triggers mouseover and mouseout events, cannot describe the process of mouse moving from one element to another element, which is important for mouseenter/mouseleave. Closes #2131, #1811
2013-04-29refact(ngClass): improve performance through bitwise operationsRobin Böhm
Change modulo % 2 operations to bitwise & 1 Read about this in Nicholas C. Zakas book "High Performance JavaScript"(ISBN: 978-0-596-80279-0) Use the Fast Parts --> Bitwise Operators --> Page 156++ Proven at http://jsperf.com/modulo-vs-bitwise/11
2013-04-28docs($q): fix typoJamie R. Rytlewski
2013-04-26docs(route): fix typo in route documentationAndreas Pelme
2013-04-25fix(location): correctly rewrite Html5 urlsPete Bacon Darwin
2013-04-24docs(filter): improve syntax for usage in templatesPaulo Ávila
2013-04-24feat($q): add $q.always() methodLaurent Cozic
Add $q.always(callback) method that is always called whether the promise is successful or fails; includes unit tests and updates documentation.
2013-04-22feat(controller): support as instance syntaxMisko Hevery
Support ng-controller="MyController as my" syntax which publishes the controller instance to the current scope. Also supports exporting a controller defined with route: ````javascript angular.module('routes', [], function($routeProvider) { $routeProvider.when('/home', {controller: 'Ctrl as home', templateUrl: '...'}); }); ````
2013-04-22fix($animator): remove dependency on window.setTimeout.Misko Hevery
2013-04-19feat(ngIf): add directive to remove and recreate DOM elementsOren Avissar
This directive is adapted from ui-if in the AngularUI project and provides a complement to the ngShow/ngHide directives that only change the visibility of the DOM element and ngSwitch which does change the DOM but is more verbose.
2013-04-19docs(input): fix typo on max attributeleesei
2013-04-19docs(select): fix attribute documentationShyam Seshadri
Select documentation was still referring to binding to name, when it should be ng-model instead. Fixed it.
2013-04-19docs(ngBind): fix typoMichal Reichert
2013-04-18test(modules): fix module tests which got disabled by ngMobileIgor Minar
When ngMobile was merged in, we accidentaly included angular-scenario.js in the test file set for modules. Loading this file overrode jasmine's `it` and `describe` global functions which essentially disabled all of ~200 unit tests for wrapped modules. This change refactors the code to run the wrapped module tests. I had to extract browserTrigger from scenario runner in order to achieve this without code duplication.
2013-04-17fix(i18n): escape all chars above \u007f in locale filesPete Bacon Darwin
Modify the script that writes the locales so all characters above \u007f are escaped Includes the updated locale files after running the closureI18nExtractor. Closes #2417
2013-04-17fix(ngModel): use paste/cut events in IE to support context menuMark Dalgleish
In IE the model is not updated when the input value is modified using the context menu, e.g. pasting from the clipboard, or cutting all or part of the current value. To capture these changes, we bind to the proprietary 'paste' and 'cut' events. Closes #1462
2013-04-17doc(ngClassEven): make consistent with ngClassOddes128
2013-04-17docs(injector): fix typo in inlining example@fbiville
The actual invoke call in the documentation was referring to the non-existent tempFn instead of tmpFn
2013-04-16fix(ngPattern): allow modifiers on inline ng-patternaustingreco
Add support for regex modifiers on inline `ng-pattern`. `ng-pattern="/regex/i"` now validates correctly. Closes #1437
2013-04-16docs($q): fix incorrect @returns tag for $q.when()Francesc Rosàs