aboutsummaryrefslogtreecommitdiffstats
path: root/src/service/compiler.js
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-26feat(ngValue): allow radio inputs to have non string valuesVojta Jina
Closes #816
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
2012-03-20fix($compile): don't touch static element attributesIgor Minar
Compiler should not reassign values to element attributes if its not neccessary due to interpolation or special attribute magic (ng-src -> src) This resolves several issues on IE caused by reassigning script.src attribute which caused all of the scripts to be reloaded.
2012-03-20fix($compile): Merge interpolated css class when replacing an elementVojta 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(compiler): allow transclusion of root elementsMisko Hevery
Fixed an issue where a directive that uses transclusion (such as ngRepeat) failed to link if it was declared on the root element of the compilation tree. (For example ngView or ngInclude including template where ngRepeat was the top most element).
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-12docs(*): renaming incorrect widget references to control or directiveIgor Minar
2012-03-12fix(svg): normalize class access for SVGMisko Hevery
2012-03-09chore(*): refactor all ng: to ng-Igor Minar
2012-03-08chore(compiler): change default restriction to attribute only for directivesMisko Hevery
2012-02-21feat($compiler): Allow attr.$observe() interpolated attrsVojta Jina
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-01-25docs(compiler): update the compiler docsMisko Hevery
2012-01-25refactor(directives): connect new compilerMisko Hevery
- turn everything into a directive
2012-01-25add($compile): add compiler v2.0 - not connectedMisko Hevery
2012-01-23refactor(scope): separate controller from scopeVojta Jina
Controller is standalone object, created using "new" operator, not messed up with scope anymore. Instead, related scope is injected as $scope. See design proposal: https://docs.google.com/document/pub?id=1SsgVj17ec6tnZEX3ugsvg0rVVR11wTso5Md-RdEmC0k Closes #321 Closes #425 Breaks controller methods are not exported to scope automatically Breaks Scope#$new() does not take controller as argument anymore
2012-01-12refactor(module): strict separation between module-config / app-runtimeMisko Hevery
2011-11-14refactor(injector): removed loadModule/ng:moduleMisko Hevery
- added module property to doc:example
2011-11-14refactor(injector): $injector is no longer a function.Misko Hevery
- $injector('abc') -> $injector.get('abc'); - $injector(fn) -> $injector.invoke(null, fn);
2011-11-14style(docs): make jslint happy - fix some warningsVojta Jina
2011-11-14fix(doc) cleanup all api doc link warningsMisko Hevery
2011-11-14doc(service): update docs for the moved servicesMisko Hevery
2011-11-14new(directive): added ng:module directive for loading modulesMisko Hevery
2011-11-14refactor(services): migrate angular.service -> moduleMisko Hevery
2011-11-14refactor(injector): switch to injector 2.0 introduce modulesMisko Hevery
2011-11-14refactor(compiler) turn compiler into a serviceMisko Hevery
BREAK - remove angular.compile() since the compile method is now a service and needs to be injected
2011-11-14move(compiler): appease the History GodMisko Hevery
- renamed: src/Compiler.js -> src/service/compiler.js - renamed: test/CompilerSpec.js -> test/service/compilerSpec.js