aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng
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-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-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-13docs(ngController): fix docs link to api/ng.$routebrandonjp
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-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($compile): improve docsDavid Sanders
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-03fix(ngAnimator): correct polyfillSetup activation and memento generationWilliam Bagayoko
2013-04-03docs: add animations into docs and directive examplesMatias Niemelä
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
2013-04-02feat(ngAnimate): add support for animationMisko Hevery
2013-04-02chore(docs): correct few unclosed elementsMisko Hevery
2013-04-01docs(ngSwitch): improve the @usage exampleIgor Minar
2013-03-29feat(ngRepeat): add support for custom tracking of itemsMisko Hevery
BREAKING CHANGE: It is considered an error to have two items produce the same track by key. (This was tolerated before.)
2013-03-29feat(Scope): add $watchCollection method for observing collectionsMatias Niemelä
The new method allows to shallow watch collections (Arrays/Maps).
2013-03-29docs(controller): improve $controller function doc readabilityMatthew McComb
Improved $controller function doc readability.
2013-03-29docs(*): fixed typosPascal Borreli
2013-03-27feat(http): support request/response promise chainingSylvester Keil
myApp.factory('myAroundInterceptor', function($rootScope, $timeout) { return function(configPromise, responsePromise) { return { request: configPromise.then(function(config) { return config }); response: responsePromise.then(function(response) { return 'ha!'; } }); } myApp.config(function($httpProvider){ $httpProvider.aroundInterceptors.push('myAroundInterceptor'); });
2013-03-20refactor(ngRepeat): make use of declared variableMark Chapman
Rename unused arrayLength variable to arrayBound and use it inside loop
2013-03-20chore(select): Fix ngOptions regexp capture comment.Arlen Christian Mart Cuss
Off-by-one error.
2013-03-19docs(filter): Using indefinite articleBruno Coelho
This doc was using both definite article and indefinite article at the same time.
2013-03-15fix($location): parse FirefoxOS packaged app urlsManuel Braun
FirefoxOS uses special URLs like app://{d0419af1-8b42-41c5-96f4-ef4179e52315}/index.html for packaged Apps. Closes #2112
2013-03-15$routeChangeSuccess documentationJamie Mason
I hope this helps someone, I ran into some issues when following the API as described - handlers of this event receive 3 arguments, not 2. Although this is mentioned [elsewhere](http://docs.angularjs.org/api/ng.$rootScope.Scope#$on) it's not clear when viewing the docs for this behaviour in isolation.  The first argument is an Event Object, not the current route. The previous route argument can also be omitted on occasions.