aboutsummaryrefslogtreecommitdiffstats
path: root/test/directivesSpec.js
AgeCommit message (Collapse)Author
2010-10-23adding ng:submit directive for use with formsIgor Minar
- allows for binding angular expressions to onsubmit events - prevent default submit action (page reload)
2010-10-23simplifying ng:click specIgor Minar
2010-10-19fixed testsMisko Hevery
2010-10-13fixed issue where ng:bind would not reset value if expression returned undefinedMisko Hevery
2010-10-12Introduced injector and $new to scope, and injection into link methods and ↵Misko Hevery
controllers - added angular.injector(scope, services, instanceCache) which returns inject - inject method can return, instance, or call function which have $inject property - initialize services with $creation=[eager|eager-publish] this means that only some of the services are now globally accessible - upgraded $become on scope to use injector hence respect the $inject property for injection - $become should not be run multiple times and will most likely be removed in future version - added $new on scope to create a child scope - $inject is respected on constructor function - simplified scopes so that they no longer have separate __proto__ for parent, api, behavior and instance this should speed up execution since scope will now create one __proto__ chain per scope (not three). BACKWARD COMPATIBILITY WARNING: - services now need to have $inject instead of inject property for proper injection this breaks backward compatibility - not all services are now published into root scope (only: $location, $cookie, $window) - if you have widget/directive which uses services on scope (such as this.$xhr), you will now have to inject that service in (as it is not published on the root scope anymore)
2010-10-08change ng:controller to create new scope hence allow nestingMisko Hevery
2010-10-04fixed lint warningsIgor Minar
2010-10-01'A' tag widget and ng:click propagation changeIgor Minar
* added a widget for A (anchor) tag, that modifies the default behavior and prevent default action (location change and page reload) for tags with empty href attribute * stopped event propagation for all ng:click handlers
2010-08-14merge kai/masterMisko Hevery
2010-07-27fix preventDefault for eventsMisko Hevery
2010-07-22fix howers which were accidently brokenMisko Hevery
2010-07-15fixed buildMisko Hevery
2010-07-15proper handlig of $element in filtersMisko Hevery
2010-07-15proper handlig of $element in filtersMisko Hevery
2010-07-14appease IE on CSS stylesMisko Hevery
2010-07-14ng:style remembers previous style and properly resets to itMisko Hevery
2010-07-15fix undefine styleKai Compagner
2010-07-14fix undefine styleKai Compagner
2010-07-09ng:repeat ignores prototype keysMisko Hevery
2010-07-02change all attributes from ng- to ng: prefixMisko Hevery
2010-05-07change everything over to jasmineMisko Hevery
2010-04-22clean up failing test with jqueryMisko Hevery
2010-04-21ie6 now passesMisko Hevery
2010-04-21more if tests passMisko Hevery
2010-04-20fixes to enable ieMisko Hevery
2010-04-16lots of small fixesMisko Hevery
2010-04-12added ng-eval-order attributeMisko Hevery
2010-04-12removed Meta and allowed binding of HTMLMisko Hevery
2010-04-08tests pass jstd has issuesMisko Hevery
2010-04-08tests failing jstd to show coryMisko Hevery
2010-04-07seperatio validation and exception handlingMisko Hevery
2010-04-07Merge branch 'directives' of github.com:angular/angular.js into directivesMisko Hevery
2010-04-07clean up, fixes for appMisko Hevery
2010-04-06few fixes to make tests pass with jqueryMisko Hevery
2010-04-05added ng-controller directiveMisko Hevery
2010-04-05added ng:includeMisko Hevery
2010-03-31all tests green, some dissabledMisko Hevery
2010-03-30more tests fixedMisko Hevery
2010-03-29dissabled a lot of tests, and made the core test set pass.Misko Hevery
2010-03-25major refactoring of scopeMisko Hevery
2010-03-25checkbox and radio now workingMisko Hevery
2010-03-23markup now wroks, some refactoringsMisko Hevery
2010-03-22all angular.js directives now workMisko Hevery
2010-03-22rudementary event bind and trigger for jqliteMisko Hevery
2010-03-22upgraded jquery to 1.4.2 and made ng-action work with jqueryMisko Hevery
2010-03-22ng-watch directiveMisko Hevery
2010-03-22ng-repeat worksMisko Hevery
2010-03-22got few directives workingMisko Hevery