aboutsummaryrefslogtreecommitdiffstats
path: root/test/directive
AgeCommit message (Collapse)Author
2012-03-28chore(module): move files around in preparation for more modulesMisko Hevery
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-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-20feat(input.radio): Allow value attribute to be interpolatedVojta Jina
2012-03-19bug(ie7): incorrectly set all inputs to disabledMisko Hevery
In ie7 all of the input fields are set to readonly and disabled, because ie7 enumerates over all attributes even if the are not declared on the element.
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-17fix(ngRepeat): correct variable reference in error messageIgor Minar
Closese #803
2012-03-16fix(forms): Set ng-valid/ng-invalid correctlyVojta Jina
2012-03-16style(ngViewSpec): pretify some tests with $destroy eventsIgor Minar
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(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-09chore(*): refactor all ng: to ng-Igor Minar
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