aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-04-12docs(tutorial): update step-04 to v1.0Igor Minar
2012-04-12style(docs-scenario.html): rename <angular/> to AngularJS in the titleIgor Minar
2012-04-12fix($location): properly rewrite urls in html5 mode with base url setIgor Minar
previously we were doing all kinds of checks to see if we should rewrite the url or not and we were missing many scenarios. not any more. with this change, we rewrite the url unless: - the href is not set - link has target attribute - the absolute url of the link doesn't match the absolute prefix for all urls in our app This also means that ng-ext-link attribute which we previously used to distinguish external links from app links is not necessary any more. apps can just set target=_self to prevent rewriting. BREAKING CHANGE: ng-ext-link directive was removed because it's unnecessary apps that relied on ng-ext-link should simply replace it with target=_self
2012-04-12fix(e2eRunner): $browser.location should delegate to apps $locationIgor Minar
previously it would create a new instance which wasn't configured as the one in the app, which resulted in incorrect values being returned in html5 mode with base url set
2012-04-11docs($compile): fixed typosimpulton
2012-04-11test(ngView): fix failing e2e testsIgor Minar
2012-04-11docs($http): fix return typesIgor Minar
2012-04-11feat($http): expose the defaults config as $http.defaultsIgor Minar
Often it is impossible to set the http defaults during the config phase, because the config info is not available at this time. A good example is authentication - often the app needs to bootstrap, allow user to enter credentials and only then it gains access to session token which then should be sent to the server with every request. Without having the ability to set the defaults at runtime, the developer either has to resort to hacks, or has to set the session token header with every request made by the app.
2012-04-11fix($location): don't rewrite links to different base pathsThibault Leruitte
links to different base paths should not be left untouched
2012-04-11chore(release scripts): group changelog only if more than 1 entry Vojta Jina
2012-04-11fix(input.radio): support 2-way binding in a repeaterVojta Jina
Closes #869
2012-04-11chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a moduleVojta Jina
Create build for other modules as well (ngResource, ngCookies): - wrap into a function - add license - add version Breaks `$sanitize` service, `ngBindHtml` directive and `linky` filter were moved to the `ngSanitize` module. Apps that depend on any of these will need to load `angular-sanitize.js` and include `ngSanitize` in their dependency list: `var myApp = angular.module('myApp', ['ngSanitize']);`
2012-04-11docs($compile): fix typo in the docs templateURL -> templateUrlIgor Minar
2012-04-10chore(*): remove dead code and fix code style issuesIgor Minar
2012-04-10docs(guide.forms): fix the forms dev guide to use ng-disabledVojta Jina
2012-04-10docs(angular.bootstrap): fix typos and errorsIgor Minar
2012-04-10docs(tutorial): fix typos in steps 2 and 3Igor Minar
2012-04-09chore($browser): remove the addJs methodIgor Minar
this was never meant to be a public api used by apps. I refactored the code to hide the functionality. BREAKING CHANGE: $browser.addJs method was removed apps that depended on this functionality should either use many of the existing script loaders or create a simple helper method specific to the app.
2012-04-09chore($browser): remove the addCss methodIgor Minar
this api was never supposed to be public. nobody should be relying on it. I'm removing it since angular doesn't need it. BREAKING CHANGE: $browser.addCss was removed apps the depend on this functionality should write a simple utility function specific to the app (see this diff for hints).
2012-04-09chore(ngBind): remove obsolete testIgor Minar
this test is not testing what it claims it is. we don't need it any more
2012-04-09chore(tests): rename all directive names to the normalized formIgor Minar
2012-04-09fix(ngBindHtml): clear contents when model is falsyIgor Minar
Closes #864
2012-04-09test(ngBindSpec): correct tests + split them upIgor Minar
2012-04-09fix(docs): change all directive references to use the normalized namesIgor Minar
2012-04-09chore(release): starting 1.0.0rc5 reality-distortion iterationIgor Minar
2012-04-05chore(release): cutting the 1.0.0rc4 insomnia-induction releasev1.0.0rc4Igor Minar
2012-04-05docs(changelog): release notes for 1.0.0rc4 insomnia-inductionIgor Minar
2012-04-05fix(docs): move $cookies and $cookieStore docs to moduleIgor Minar
2012-04-05chore(docs): add nonminified jquery debug version of docsIgor Minar
2012-04-05chore(Rakefile): fix and improve file rewriting codeIgor Minar
2012-04-05fix(Rakefile): move 'use strict'; flag into the angular closureIgor Minar
closure compiler is stubborn and puts the flag to the top of the file, so we have to post-process the minified file to move the flag into the angular closure.
2012-04-04feat($http): add withCredentials config optionVojta Jina
2012-04-04feat($route): allow chaining of whens and otherwiseIgor Minar
Previously one had to write: $routeProvider.when('/foo', {...}); $routeProvider.when('/bar', {...}); $routeProvider.otherwise({...}); After this change it's just: $routeProvider. when('/foo', {...}). when('/bar', {...}). otherwise({...}); Breaks #when which used to return the route definition object but now returns self. Returning the route definition object is not very useful so its likely that nobody ever used it.
2012-04-04docs(tutorial): update tutorial intro + steps 0-3Igor Minar
also contains all kinds of fixes that I had to make in the docs app to get the tutorial to render correctly
2012-04-04chore(docs): restore old tutorial ngdoc filesIgor Minar
2012-04-04fix(docs): remove ngModelInstant from all examplesIgor Minar
just fixing leftover code after the removal of ngModelInstant
2012-04-04refactor(ngHref, ngSrc): remove duplicate testsVojta Jina
2012-04-04chore(directive): correct file names for booleanAttrsVojta Jina
2012-04-04refactor(ngInclude): correct the testsVojta Jina
2012-04-04fix(booleanAttrs): convert to booleanVojta Jina
jQuery's attr() does not handle 0 as false, when it comes to boolean attrs.
2012-04-03fix(form): preperly clean up when invalid widget is removedMisko Hevery
Removing invalid widget sometimes resulted in improper cleanup of the form state.
2012-04-03fix(ng-href): copy even if no bindingMisko Hevery
Closes# 850 fixed an issue where ng-href would not copy its content into href if it did not contain binding.
2012-04-03fix($compile): relax the restriction that directives can not add siblingsMisko Hevery
Relax the restriction that directives can not add siblings
2012-04-03refactor(ngView): remove extra $watch, refactor one ugly testVojta Jina
2012-04-03feat(ngInclude): allow ngInclude on css classVojta Jina
And make it terminal so that it does not compile its content, which would cause leaks.
2012-04-03fix(ngInclude): fire $includeContentLoaded on proper (child) scopeVojta Jina
2012-04-03refactor(ngInclude): remove scope attributeVojta Jina
The purpose of allowing the scope to be specified was to enable the $route service to work together with ngInclude. However the functionality of creating scopes was in the recent past moved from the $route service to the ngView directive, so currently there is no valid use case for specifying the scope for ngInclude. In fact, allowing the scope to be defined can under certain circumstances lead to memory leaks. Breaks ngInclude does not have scope attribute anymore.
2012-04-03feat(ngModel): update model on each key stroke (revert ngModelInstant)Vojta Jina
It turns out that listening only on "blur" event is not sufficient in many scenarios, especially when you use form validation you always had to use ngModelnstant e.g. if you want to disable a button based on valid/invalid form. The feedback we got from our apps as well as external apps is that the ngModelInstant should be the default. In the future we might provide alternative ways of suppressing updates on each key stroke, but it's not going to be the default behavior. Apps already using the ngModelInstant can safely remove it from their templates. Input fields without ngModelInstant directive will start propagating the input changes into the model on each key stroke.
2012-04-03feat($sniffer): add hasEvent method for sniffing eventsVojta Jina
Skip changelog
2012-04-03Doc fixes in bootstrapBrad Green
Now makes sense.