aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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.
2012-04-02fix(scenario): dev secenario testsMykhailo Kotsur
closes #843 Fixed failed e2e test
2012-04-02fix($q): $q.reject should forward callbacks if missingIgor Minar
$q.reject('some reason').then() should not blow up, but correctly forward the callbacks instead. Closes #845
2012-04-02fix($location): search setter should not double-encode the valueMykhailo Kotsur
By mistake both the setter and helper function that composes the whole url were encoding the search values. Closes #751
2012-03-30chore(release): start 1.0.0rc4 insomnia-induction iterationIgor Minar
2012-03-29chore(release): cutting 1.0.0rc3 barefoot-telepathyv1.0.0rc3Igor Minar
2012-03-29fix(docs): update the example widget regexp for detecting angular.js urlIgor Minar
so that we don't show angular-cookies instead of angular.js
2012-03-29fix(FormController): ask for dependency to fool the BC moduleIgor Minar
2012-03-29fix(docs): properly rewrite urls in doc examples at docs-nextIgor Minar
2012-03-29fix(ngValue): bind properly inside ng-repeatVojta Jina
2012-03-29fix($injector): properly infer dependencies from fn with no argsIgor Minar
Previously if there was a white-space in fn: fn( ) {} we failed to infer no args. This was originally reported by recht, but I decided to use a different fix. Closes #829
2012-03-29docs(changelog): release notes for 1.0.0rc3 barefoot-telepathyIgor Minar
2012-03-29refactor($compile): move methods of attr object into prototypeVojta Jina
We have many instances of this object and we clone them as well (e.g. ng-repeat). This should save some memory and performance as well. Double prefixed private properties of attr object: attr.$element -> attr.$$element attr.$observers -> attr.$$observers Update shallowCopy to not copy $$ properties and allow passing optional destination object.
2012-03-29fix($compile): properly clone attr.$observers in ng-repeatVojta Jina
The `attr` object was only shallow copied which caused all observers to be shared. Fixing similar issue in ng-* boolean attributes as well as ng-src and ng-href.
2012-03-29chore(release scripts): auto release scriptsVojta Jina
2012-03-28refactor(fromJson/toJson): move the contents of these files into Angular.jsIgor Minar
these files are now mostly empty so it doesn't make sense to keep them separated from other helper functions
2012-03-28refactor(toJson): use native JSON.stringifyIgor Minar
Instead of using our custom serializer we now use the native one and use the replacer function to customize the serialization to preserve most of the previous behavior (ignore $ and $$ properties as well as window, document and scope instances).
2012-03-28refactor(fromJson): always use native JSON.parseIgor Minar
This breaks IE7 for which you can use polyfill: https://github.com/douglascrockford/JSON-js <!--[if lt IE 8]> <script src="json2.min.js"></script> <![endif]--> or http://bestiejs.github.com/json3/ <!--[if lt IE 8]> <script src="json3.min.js"></script> <![endif]-->
2012-03-28feat($http): make the transform defaults to an arrayIgor Minar
$httpProvider.defaults.transformRequest and $httpProvider.defaults.transformResponse are now arrays containing single function. This makes it easy to add an extra transform fn. adding an extra fn before had to be done in this cluncky way: $httpProvider.defaults.transformResponse = [$httpProvider.defaults.transformResponse, myTransformFn]; after this change, it's simply: $httpProvider.defaults.transformResponse.push(myTransformFn);
2012-03-28style($http): remove redundant 'use strict' headerIgor Minar
2012-03-28feat(TzDate): add support for toISOString methodIgor Minar
2012-03-28refactor(fromJson/date filter): move date string logic to date filterIgor Minar
Breaks angular.fromJson which doesn't deserialize date strings into date objects. This was done to make fromJson compatible with JSON.parse. If you do require the old behavior - if at all neeeded then because of json deserialization of XHR responses - then please create a custom $http transform: $httpProvider.defaults.transformResponse.push(function(data) { // recursively parse dates from data object here // see code removed in this diff for hints }); Closes #202
2012-03-28fix(i18n e2e tests):Misko Hevery
2012-03-28docs(examples): update example appsIgor Minar
2012-03-28style(Rakefile): use snake_case in ruby codeIgor Minar
2012-03-28chore(ngCookies): moved to moduleMisko Hevery
2012-03-28chore(resource): moved to moduleMisko Hevery
2012-03-28chore(Rakefile): get ready for modulesMisko Hevery
2012-03-28chore(module): move files around in preparation for more modulesMisko Hevery
2012-03-27Updated manual bootstrap documentBrad Green
Explained why you'd want to manually bootstrap, added contrasting example for automatic vs manual methods.
2012-03-27Rewrite of Automatic Initialization docBrad Green
Added examples, explained the reasons why you initialize the whole app or parts of the page.
2012-03-26feat($compile): do not interpolate boolean attributes, rather evaluate themVojta Jina
So that we can have non string values, e.g. ng-value="true" for radio inputs Breaks boolean attrs are evaluated rather than interpolated To migrate your code, change: <input ng-disabled="{{someBooleanVariable}}"> to: <input ng-disabled="someBooleanVariabla"> Affected directives: * ng-multiple * ng-selected * ng-checked * ng-disabled * ng-readonly * ng-required
2012-03-26refactor(ngBindAttr): removeVojta Jina
Breaks ng-bind-attr directive removed
2012-03-26feat(ngValue): allow radio inputs to have non string valuesVojta Jina
Closes #816
2012-03-26docs(guide/module): fix syntax error and expectation in test exampleMykhailo Kotsur
2012-03-26docs(guide/unit-testing): fixed typo in code exampleMykhailo Kotsur
2012-03-26refactor($sniffer): make $sniffer service privateIgor Minar
This service has been accidentaly documented in the past, it should not be considered to be public api. I'm also removing fallback to Modernizr since we don't need it. Breaks any app that depends on this service and its fallback to Modernizr, please migrate to custom "Modernizr" service: module.value('Modernizr', function() { return Modernizr; });
2012-03-26feat($controller): support controller registration via $controllerProviderIgor Minar
It's now possible to register controllers as: .register('MyCtrl', function($scope) { ... }); // or .register('MyCtrl', ['$scope', function($scope) { ... }); Additionally a module loader shortcut api was added as well: myModule.controller('MyCtr', function($scope) { ... });
2012-03-26feat(assertArgFn): should support array annotated fnsIgor Minar
2012-03-23doc(guide/module): fix typoIgor Minar
2012-03-23doc(guide/controller): fix examplesIgor Minar
2012-03-23doc(guide): order topic list in guide sidebar in accordance with overviewManuel Woelker
Closes #405
2012-03-23fix(init): use jQuery#ready for init if availableIgor Minar
Closes #818
2012-03-23feat(http): added params parameterMisko Hevery
The params parameter can now be used to serialize parameters in the URLs. The serialization does proper escaping and JSON encoding if it is an object.
2012-03-23fix(q): resolve all of nothing to nothingMisko Hevery
$q.all([]) no longer throws exception and resolves to empty array []
2012-03-23fix($compile): create new (isolate) scopes for directives on root elementsIgor Minar
previously we would not create them and it's causing all kinds of issues and accidental leaks Closes #817