aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)Author
2012-03-19fix(select): multiselect failes to update view on selection insertMisko Hevery
In multiselect when the underlying selection array push/pops an element the view did not re-render since the array reference stayed the same.
2012-03-19fix(ngForm): alias name||ngFormMisko Hevery
form directive was requiring name attribute even when invoked as attribute, resulting in unnecessary duplication
2012-03-19fix(ngView): controller not publishedMisko Hevery
corrected omitted assignment of controller to the element data object. Without this fix the controller created by ngView is not accessible from the browser debugger.
2012-03-19feat(jqLite): add .controller() methodMisko Hevery
extend JQuery with .controller() method which retrieves the closest controller for a given element
2012-03-18feat(scope.$eval): Allow passing locals to the expressionVojta Jina
2012-03-17fix(ngRepeat): correct variable reference in error messageIgor Minar
Closese #803
2012-03-16fix(forms): Set ng-valid/ng-invalid correctlyVojta Jina
2012-03-16feat(injector): infer _foo_ as fooIgor Minar
this is to enable nicer tests: describe('fooSvc', function() { var fooSvc; beforeEach(inject(function(_fooSvc_) { fooSvc = _fooSvc_; })); it('should do this thing', function() { //test fooSvc }); });
2012-03-16style(ngViewSpec): pretify some tests with $destroy eventsIgor Minar
2012-03-16feat(scope): broadcast $destroy event on scope destructionIgor Minar
perf testing shows that in chrome this change adds 5-15% overhead when destroying 10k nested scopes where each scope has a $destroy listener
2012-03-15style(ngSwitchSpec): fix typoIgor Minar
2012-03-14fix(ng-switch): properly destroy child scopesIgor Minar
2012-03-13feat(ng-list): Allow custom separatorVojta Jina
2012-03-13feat(compile): allow ngForm on attribute and classMisko Hevery
#feature - ngForm directive can now be used with element, class, and attributes
2012-03-13f(compile): boolean attributes too agresiveMisko Hevery
- compiler would rewrite boolean attributes on all elements. This is too aggressive and interferes with some third-party frameworks
2012-03-13fix(ng-non-bindable): increase priority to 1000Misko Hevery
- increase ng-non-bindable prioirity to 1000 so that it prevents attribute interpolation on same level.
2012-03-13feat(form): publish validationErrorKeys as CSSMisko Hevery
- The validationErrorKeys are now published as CSS for easy styling. The errorKeys should be in camelCase and the CSS will be in snake-case
2012-03-13fix(forms): remove control.$form and use nullFormCtrlIgor Minar
2012-03-13fix(forms): fix nesting issues and add testsIgor Minar
2012-03-13fix(forms): lowercase all validation error keysIgor Minar
2012-03-13fix(scope): remove scope $destroy eventIgor Minar
2012-03-12fix(forms): prefix all form and control properties with $Igor Minar
2012-03-12fix(forms): remove the need for extra form scopeIgor Minar
the forms/controls code refactored not to depend on events which forced us to create new scope for each form element.
2012-03-12style(ng-include): remove unused argsIgor Minar
2012-03-12test(ng-include): add ng-include=src testIgor Minar
2012-03-12fix(svg): normalize class access for SVGMisko Hevery
2012-03-12fix(forms): Propagate change from model even if it's undefinedVojta Jina
2012-03-11chore(ng-include): update to work in ng-include|src modeMisko Hevery
2012-03-09refactor(forms): Remove touch() methodVojta Jina
2012-03-09refactor(forms): Rename read() -> setViewValue()Vojta Jina
2012-03-09fix(startTag): fix tagname extractionIgor Minar
the original code magically worked for ng:foo but for nothing else
2012-03-09chore(*): refactor all ng: to ng-Igor Minar
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