aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
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
2013-04-16fix(ngClass): should remove classes when object is the same but property has ↵Pete Bacon Darwin
changed If you wire up ngClass directly to an object on the scope, e.g. ng-class="myClasses", where scope.myClasses = { 'classA': true, 'classB': false }, there was a bug that changing scope.myClasses.classA = false, was not being picked up and classA was not being removed from the element's CSS classes. This fix uses angular.equals for the comparison and ensures that oldVal is a copy of (rather than a reference to) the newVal.
2013-04-15fix($location): fix URL interception in hash-bang modeMisko Hevery
Closes #1051
2013-04-15docs(rootScope): fix typoPete Bacon Darwin
2013-04-15docs(rootScope): Fix various typosLaurent
2013-04-15docs(Angular.js): fix typoLaurent
2013-04-13docs(ngController): fix docs link to api/ng.$routebrandonjp
2013-04-13fix(Scenario): correct bootstrap issue on IEIgor Minar
we need to set the deferred bootstrap flag via window.name after the iframe's src has been set, otherwise IE will reset it to empty string
2013-04-11fix(ngAnimate): prevent animation on initial page loadMisko Hevery
2013-04-11fix(ngRepeat): prevent initial duplicatesMisko Hevery
2013-04-11style(exceptionHandler): add wsLee Leathers
2013-04-11docs(animator): fix typowinkler1
2013-04-11docs(jqLite): clarified that children/parent do not support selectorsChristoph Burgdorf
2013-04-11docs: fix typosMatt Haggard
2013-04-11docs(ngApp): fixed typoBrent Morrow
Use this directive to auto-bootstrap **an** application.
2013-04-11fix(ngAnimate): skip animation on first renderMatias Niemelä
2013-04-11feat($animator): allow to globally disable and enable animationsMatias Niemelä
2013-04-11docs(http): spelling, grammar, capitalization, etc.Artur Ostrega
2013-04-11docs(angular-mocks): fix wordingBrent Morrow
2013-04-11docs($inject): wording changeBrent Morrow
2013-04-11docs($compile): improve docsDavid Sanders
2013-04-11feat(ngSwipe): Add ngSwipeRight/Left directives to ngMobileBraden Shepherdson
These directives fire an event handler on a touch-and-drag or click-and-drag to the left or right. Includes unit tests and docs update. Manually tested on Chrome 26, IE8, Android Chrome and iOS Safari.
2013-04-11docs($http): fix a typoChad Whitacre
2013-04-11docs(animator): Fixed a typoPatrick
2013-04-08fix($sniffer): $sniffer to support non-vendor prefixesMatias Niemelä
2013-04-04docs($resource): improve installation sectionIgor Minar
2013-04-03fix(ngAnimator): correct polyfillSetup activation and memento generationWilliam Bagayoko
2013-04-03docs: add animations into docs and directive examplesMatias Niemelä
2013-04-03feat(Scenario): autodisable animations when running e2e testsIgor Minar
animations cause the dom to contain elements that have been removed from the model but are being animated out. we could teach the e2e runner to wait for animations but that would make all tests slower. it should be quite safe to just disable animations automatically when the app is running via the e2e test runner. this change disables only css animations. we should make additional change that disables js animations as well, but since we don't need this right now I'm punting on it.
2013-04-03fix(ngShow/ngHide): revert to display:'' for showMisko Hevery
Regression introduced by ngAnimation SHA: 0b6f1ce5f89f47f9302ff1e8cd8f4b92f837c413
2013-04-03style(animator): style cleanupIgor Minar
2013-04-02feat(ngdocs): added functionality to import and extract contents of external ↵Matias Niemelä
files inside docs comment code