aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)Author
2012-03-09feat($provide.service): Add $provide.service() for registering a classVojta Jina
2012-03-09refactor($provide) Rename service -> providerVojta Jina
It registers a provider class, so this makes more sense. Breaks Rename $provide.service -> $provide.provider
2012-03-09refactor(forms): remove registerWidget and use event insteadVojta Jina
Each widget (ng-model directive) emits $newFormControl event instead of getting hold of parent form and calling form.registerWidget(this);
2012-03-08fix(ng-view, ng-include): onload and $contentLoadedIgor Minar
- change custom onload directive to special arguments recongnized by both ng-view and ng-include - rename $contentLoaded event to $viewContentLoaded and $includeContentLoaded - add event docs
2012-03-08chore(directives,widgets): reorg the code under directive/ dirIgor Minar
2012-03-08fix(ng-cloak): work with classMisko Hevery
2012-03-08fix($parse): Allow property names that collide with native object propertiesVojta Jina
I.e. constructor, toString, or watch on FF (https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/watch) + optimize parser a bit to not create getter function for operators
2012-03-08fix(tests): fix name collisions between various testsIgor Minar
2012-03-08fix(test): rename an it so that it doesn't colide with the test aboveIgor Minar
2012-03-08docs($rootScope): rename ttl to digestTtl + docsIgor Minar
2012-03-08chore(compiler): change default restriction to attribute only for directivesMisko Hevery
2012-03-05fix(ng-include): Compile only contentVojta Jina
2012-03-05refactor(testabilityPatch): Change JSTD fail to more general throwVojta Jina
"fail" is a JSTD specific API, so it's not defined when testing without JSTD (eg SlimJim).
2012-02-28refactor(directive.ngModel): rename emitValidity -> setValidityVojta Jina
2012-02-28fix(ng:model-instant): defer only keydown, throttle setTimeoutsVojta Jina
2012-02-28fix(input): Render 0 (number) as 0 (not empty string)Vojta Jina
2012-02-28reafactor: Rename ng:bind-immediate -> ng:model-instantVojta Jina
2012-02-28feat(ng:include) Fire $contentLoaded eventVojta Jina
+ refactor unload to listen on this event -> we can use unload with ng:view as well Closes #743
2012-02-28refactor(ng:view) Make $route scope agnostic, add $contentLoaded eventVojta Jina
Problems: - controller was instantiated immediately on $afterRouteChange (even if no content), that's different compare to ng:controller, which instantiates controllers after compiling - route listened on current scope ($afterRouteChange), so if you were listening on $rootScope ($afterRouteChange), you get called first and current.scope === undefined, which is flaky - route handles scope destroying, but scope is created by ng:view - route fires after/before route change even if there is no route (when no otherwise specified) Solution: - route has no idea about scope, whole scope business moved to ng:view (creating/destroying) - scope is created (and controller instantiated) AFTER compiling the content - that means on $afterRouteChange - there is no scope yet (current.scope === undefined) - added $contentLoaded event fired by ng:view, after linking the content
2012-02-28refactor($route): remove .parent(); ng:view scope creationMisko Hevery
2012-02-28refactor($route): move when/otherwise to providerMisko Hevery
2012-02-28refactor(forms): Even better formsVojta Jina
- remove $formFactory completely - remove parallel scope hierarchy (forms, widgets) - use new compiler features (widgets, forms are controllers) - any directive can add formatter/parser (validators, convertors) Breaks no custom input types Breaks removed integer input type Breaks remove list input type (ng-list directive instead) Breaks inputs bind only blur event by default (added ng:bind-change directive)
2012-02-28feat(directive.style): Do not compile content of style elementVojta Jina
2012-02-28fix(directive.script): Do not compile content of script tagsVojta Jina
2012-02-25fix($http): Do not serialize File objectVojta Jina
2012-02-23fix($httpBackend): Set current url, if not defined or empty stringVojta Jina
Reason to fix this was the fact that with undefined url, it ended up with weird exception (Cannot call method 'replace' of undefined), which was more confusing than helpful. jQuery.ajax() does request to current url, if url is not specified, so I decided for this solution.
2012-02-23feta(scope): watch object refference or equalityMisko Hevery
Breaks: Must set $watch equality to true for the old behavior
2012-02-23bug(equals): incorect comparison of datesMisko Hevery
2012-02-22feat($provide): added constant Misko Hevery
2012-02-22fix($injector): circular dependency instatiationMisko Hevery
2012-02-21feat($compiler): Allow attr.$observe() interpolated attrsVojta Jina
2012-02-21fix(ng:repeat): use transclusionMisko Hevery
2012-02-21chore(ng:switch): rewritten with transclusion APIMisko Hevery
BREAKING CHANGE: the change event fires on scope of switch not on scope of case.
2012-02-21feat($compile) add locals, isolate scope, transclusionMisko Hevery
2012-02-21feat($compile): mark scope creation with ng-scope classMisko Hevery
2012-02-21feat($compile): support compiling text nodes by wrapping them in <span>Misko Hevery
2012-02-21feat(directive): event now accessible as $eventMisko Hevery
Closes 259
2012-02-21feat(parse): add support for local vars in expressionsMisko Hevery
2012-02-21feat(mouseenter/mouseleave): emulating ie eventsMisko Hevery
2012-02-21fix(select): double array issue with multislect and jQueryMisko Hevery
2012-02-21feat(scope): scope.$emit/$broadcast return the event object, add cancelled ↵Vojta Jina
property
2012-02-16fix(injector) .instantiate([Type]) produced wrong resultMisko Hevery
2012-02-08fix($injector): instantiate returns instance, if non-object value returned ↵Vojta Jina
from constructor
2012-01-30refactor(test): remove odd inject from describeVojta Jina
2012-01-29refactor(binder): replace jested assertions with jasmineVojta Jina
2012-01-25fix($parse): get rid of $unboundFnIgor Minar
Closes #731
2012-01-25docs(compiler): update the compiler docsMisko Hevery
2012-01-25feat(scriptTemplateLoader): provide template inliningMisko Hevery
populates $templateCache with content of ng-template scripts
2012-01-25refactor(directives): connect new compilerMisko Hevery
- turn everything into a directive
2012-01-25add($compile): add compiler v2.0 - not connectedMisko Hevery