aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-04-02chore(docs): correct few unclosed elementsMisko Hevery
2013-04-01docs(ngSwitch): improve the @usage exampleIgor Minar
2013-04-01chore: use KarmaVojta Jina
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(guide): add missing closing div tagFelipe Lahti
2013-03-29docs(guide): fix typo in DI. angualar -> angularFelipe Lahti
2013-03-29docs(mocks): fix typosGert Goet
2013-03-29docs(directive): fix typoSrinivas Kusunam
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-27fix(mock): prevent NPE when module definition outside of it.Misko Hevery
2013-03-24Update forms.ngdocJames deBoer
docs(forms): Fixed a typo. render -> $render
2013-03-20chore($ngLocale): refactor i18n closure slurper logic and parse extended ↵Chirayu Krishnappa
datetime symbols
2013-03-20chore($ngLocale): generate ngLocale files from the Closure code (includes ↵Chirayu Krishnappa
datetimesymbolsext.js)
2013-03-20fix(ngMobile): Use bracket notation to fix minified versionJason Als
Added aliases for minification
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-19chore(Angular): remove superfluous fromCharCode functionJavier Mendiara Cañardo
Remove fromCharCode function as it was used only in two inner functions in the code, and its functionality is achieved in several other places by using String.fromCharCode Breaks fromCharCode closure function, String.fromCharCode should be used instead
2013-03-19docs(filter): Using indefinite articleBruno Coelho
This doc was using both definite article and indefinite article at the same time.
2013-03-19docs(directive): Fix entity confusion in example.Arlen Christian Mart Cuss
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.
2013-03-15feat(docs): Add Improve this doc link in each doc page, which links to the ↵Shyam Seshadri
edit mode of that file in github
2013-03-14fix(timezone): correct timezone date filter for 1/2 hour offsetsSujeet Pillai
2013-03-14Fix failing test in IE 10Shyam Seshadri
2013-03-13chore(docs): add angular-mobile.js to index.htmlIgor Minar
2013-03-13feat(ngMobile): add ngMobile module with mobile-specific ngClickBraden Shepherdson
Add a new module ngMobile, with mobile/touch-specific directives. Add ngClick, which overrides the default ngClick. This ngClick uses touch events, which are much faster on mobile. On desktop browsers, ngClick responds to click events, so it can be used for portable sites.
2013-03-12docs($injector): correct misuse of $injectArlen Christian Mart Cuss
$inject was used where $injector was appropriate; confusing and misleading.
2013-03-11chore(Gruntfile): run webserver on 0.0.0.0Igor Minar
... so that we can access it from local VMs. The security risk of doing this is very low since only the current working directory is being made accessible to everyone. There is also an option to run a local firewall, which is a better way to secure the developer's machine anyway.
2013-03-11fix($location): correctly rewrite html5 url to hashbang urlThibault Leruitte
In situations where path() matched basepath and we needed to convert from html5 url to hashbang url, the $location service considered the url to be already rewritten, which resulted in an error.
2013-03-11feat(ng:switch): Preserve the order of the elements not in the ng-switchLucas Galfasó
Preserve the order of the elements that are not part of a case nor default in a ng-switch directive BREAKING CHANGE: elements not in the ng-switch were rendered after the ng-switch elements. Now they are rendered in-place. Ng-switch directives should be updated with non ng-switch elements in render-order. e.g. The following was previously rendered with <li>1</li> after "2": <ul ng-switch="select"> <li>1</li> <li ng-switch-when="option">2</li> </ul> To keep the old behaviour, say: <ul ng-switch="select"> <li ng-switch-when="1">2</li> <li>1</li> </ul> Closes #1074
2013-03-08docs(ngCloak): update the CSS rule with data-ng-cloakChristian Vuerings
2013-03-08chore($ngLocale): Generate ngLocale files from the Closure code.Chirayu Krishnappa
2013-03-08docs($injector): remove extranneous 'the' from injector docsJason Morrison
2013-03-08docs(directive): minor typo fixNiel de la Rouviere
Changed "obeject" to "object"
2013-03-08feat(directive): add ngKeypress directive for handling keypress eventMark Nadig
2013-03-08test($route): add tests for matching 'otherwise' routesIgor Minar
2013-03-08fix($route): make nextRoute.$route privateIgor Minar
the `nextRoute` object available in `$routeChangeStart` handler accidentaly leaked property which pointed to the route definition currently being matched. this was done just for the internal needs of the `$route` implementation and was never documented as public api. Some confusion arouse around why the $route property was not always available on the `nextRoute` object (see #1907). The right thing for us to do is to prefix the property with $$ for now and refactor the code to remove the property completely in the future. Application developers should use the `nextRoute` object itself rather than its `$route` property. The main diff is that nextRoute inherits from the object referenced by $route. BREAKING CHANGE: in $routeChangeStart event, nextRoute.$route property is gone. Use the nextRoute object instead of nextRoute.$route. Closes #1907
2013-03-08docs($resource): Added an installation section.Ciro Nunes
2013-03-08feat(http): set custom default cache in $http.defaults.cacheAlexander Shtuchkin
When we need more control over http caching, we may want to provide a custom cache to be used in all http requests by default. To skip default cache, set {cache: false} in request configuration. To use other cache, set {cache: cache} as before. See #2079
2013-03-06feat(angular.bootstrap): support deferred bootstrapJulie
This features enables tools like Batarang and test runners to hook into angular's bootstrap process and sneak in more modules into the DI registry which can replace or augment DI services for the purpose of instrumentation or mocking out heavy dependencies. If window.name contains prefix NG_DEFER_BOOTSTRAP! when angular.bootstrap is called, the bootstrap process will be paused until angular.resumeBootstrap is called. angular.resumeBootstrap takes an optional array of modules that should be added to the original list of modules that the app was about to be bootstrapped with.
2013-03-06docs(contribute): add note about running command line as admin on winDave Geddes
2013-03-06chore(Grunt): include dot files in the final zipIgor Minar
2013-03-06chore(Grunt): don't remove root dir from zipDave Geddes
2013-03-06docs($http): add more info about transform functionIgor Minar
2013-03-05chore(Grunt): switch from Rake to GruntDave Geddes
Migrates the Angular project from Rake to Grunt. Benefits: - Drops Ruby dependency - Lowers barrier to entry for contributions from JavaScript ninjas - Simplifies the Angular project setup and build process - Adopts industry-standard tools specific to JavaScript projects - Support building angular.js on Windows platform (really?!? why?!?) BREAKING CHANGE: Rake is completely replaced by Grunt. Below are the deprecated Rake tasks and their Grunt equivalents: rake --> grunt rake package --> grunt package rake init --> N/A rake clean --> grunt clean rake concat_scenario --> grunt build:scenario rake concat --> grunt build rake concat_scenario --> grunt build:scenario rake minify --> grunt minify rake version --> grunt write:version rake docs --> grunt docs rake webserver --> grunt webserver rake test --> grunt test rake test:unit --> grunt test:unit rake test:<jqlite|jquery|modules|e2e> --> grunt test:<jqlite|jquery|modules|end2end|e2e> rake test[Firefox+Safari] --> grunt test --browsers Firefox,Safari rake test[Safari] --> grunt test --browsers Safari rake autotest --> grunt autotest NOTES: * For convenience grunt test:e2e starts a webserver for you, while grunt test:end2end doesn't. Use grunt test:end2end if you already have the webserver running. * Removes duplicate entry for Describe.js in the angularScenario section of angularFiles.js * Updates docs/src/gen-docs.js to use #done intead of the deprecated #end * Uses grunt-contrib-connect instead of lib/nodeserver (removed) * Removes nodeserver.sh, travis now uses grunt webserver * Built and minified files are identical to Rake's output, with the exception of one less character for git revisions (using --short) and a couple minor whitespace differences Closes #199
2013-02-28feat($compile): allow directives to modify interpolated attributesThibault Leruitte
A directive can now set/update/remove attribute values even those containing interpolation during the compile phase and have the new value be picked up during the compilation. For example in template: <div replace-directive some-attr-or-directive="{{originalInterpolationValue}}"></div> the replace-directive can now replace the value of some-attr-or-directive during compilation which produces this intermitent template: <div replace-directive some-attr-or-directive="{{replacedInterpolationValue}}"></div> or even <div replace-directive some-attr-or-directive="replacedStaticValue"></div> as well as <div replace-directive some-attr-or-directive></div>
2013-02-27feat($compile): support for dynamic template generationLuis Ramón López
`template` and `templateUrl` properties can now be optionally defined via a function. This allows templates to be dynamically generated on the fly.