| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2012-02-28 | feat(ng:include) Fire $contentLoaded event | Vojta Jina | |
| + refactor unload to listen on this event -> we can use unload with ng:view as well Closes #743 | |||
| 2012-02-28 | refactor(ng:view) Make $route scope agnostic, add $contentLoaded event | Vojta 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-28 | refactor($route): remove .parent(); ng:view scope creation | Misko Hevery | |
| 2012-02-28 | refactor($route): move when/otherwise to provider | Misko Hevery | |
| 2012-02-28 | refactor(forms): Even better forms | Vojta 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-28 | feat(directive.style): Do not compile content of style element | Vojta Jina | |
| 2012-02-28 | fix(directive.script): Do not compile content of script tags | Vojta Jina | |
| 2012-02-25 | fix($http): Do not serialize File object | Vojta Jina | |
| 2012-02-23 | fix($httpBackend): Set current url, if not defined or empty string | Vojta 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-23 | feta(scope): watch object refference or equality | Misko Hevery | |
| Breaks: Must set $watch equality to true for the old behavior | |||
| 2012-02-23 | bug(equals): incorect comparison of dates | Misko Hevery | |
| 2012-02-22 | feat($provide): added constant | Misko Hevery | |
| 2012-02-22 | fix($injector): circular dependency instatiation | Misko Hevery | |
| 2012-02-21 | feat($compiler): Allow attr.$observe() interpolated attrs | Vojta Jina | |
| 2012-02-21 | fix(ng:repeat): use transclusion | Misko Hevery | |
| 2012-02-21 | chore(ng:switch): rewritten with transclusion API | Misko Hevery | |
| BREAKING CHANGE: the change event fires on scope of switch not on scope of case. | |||
| 2012-02-21 | feat($compile) add locals, isolate scope, transclusion | Misko Hevery | |
| 2012-02-21 | feat($compile): mark scope creation with ng-scope class | Misko Hevery | |
| 2012-02-21 | feat($compile): support compiling text nodes by wrapping them in <span> | Misko Hevery | |
| 2012-02-21 | feat(directive): event now accessible as $event | Misko Hevery | |
| Closes 259 | |||
| 2012-02-21 | feat(parse): add support for local vars in expressions | Misko Hevery | |
| 2012-02-21 | feat(mouseenter/mouseleave): emulating ie events | Misko Hevery | |
| 2012-02-21 | fix(select): double array issue with multislect and jQuery | Misko Hevery | |
| 2012-02-21 | feat(scope): scope.$emit/$broadcast return the event object, add cancelled ↵ | Vojta Jina | |
| property | |||
| 2012-02-16 | fix(injector) .instantiate([Type]) produced wrong result | Misko Hevery | |
| 2012-02-08 | fix($injector): instantiate returns instance, if non-object value returned ↵ | Vojta Jina | |
| from constructor | |||
| 2012-01-30 | refactor(test): remove odd inject from describe | Vojta Jina | |
| 2012-01-29 | refactor(binder): replace jested assertions with jasmine | Vojta Jina | |
| 2012-01-25 | fix($parse): get rid of $unboundFn | Igor Minar | |
| Closes #731 | |||
| 2012-01-25 | docs(compiler): update the compiler docs | Misko Hevery | |
| 2012-01-25 | feat(scriptTemplateLoader): provide template inlining | Misko Hevery | |
| populates $templateCache with content of ng-template scripts | |||
| 2012-01-25 | refactor(directives): connect new compiler | Misko Hevery | |
| - turn everything into a directive | |||
| 2012-01-25 | add($compile): add compiler v2.0 - not connected | Misko Hevery | |
| 2012-01-25 | refactor($interpolate): improve interpolation service add documentation | Misko Hevery | |
| 2012-01-25 | feat(test): support it('should', pending); | Misko Hevery | |
| 2012-01-25 | fix(injector): small perf improvement & code cleanup | Igor Minar | |
| 2012-01-25 | feat(jqLite): add contents() | Misko Hevery | |
| 2012-01-25 | feature($exceptionHandler): $exceptionHandler now supports var_args | Misko Hevery | |
| 2012-01-25 | cleanup(tests): remove unused variables | Misko Hevery | |
| 2012-01-24 | feat(ng:class): support using map of classnames and conditions | Kai Groner | |
| enables <div ng:class="{'hide': !visible, 'warning': isAlert()}"... | |||
| 2012-01-23 | fix(scope): support watching functions | Igor Minar | |
| currently we run into infinite digest if a function is being watched as an expression. This is because we generate bound function wrapper when the watch is processed via parser. I'm not too keen on the solution because it relies on the unbound fn that is being exposed for other reasons, but I can't think of a better way to deal with this right now | |||
| 2012-01-23 | chore(log): generic test log service with custom toEquals matcher | Igor Minar | |
| - any test that needs a logger can just inject provideLog - logger has susict api that makes tests more readable - custom toEquals matcher allows for pretty expectations | |||
| 2012-01-23 | refactor($controller): Add $controller service for instantiating controllers | Vojta Jina | |
| So that we can allow user to override this service and use BC hack: https://gist.github.com/1649788 | |||
| 2012-01-23 | refactor(scope.$watch): rearrange arguments passed into watcher (newValue, ↵ | Vojta Jina | |
| oldValue, scope) As scopes are injected into controllers now, you have the reference anyway, so having scope as first argument makes no sense… Breaks $watcher gets arguments in different order (newValue, oldValue, scope) | |||
| 2012-01-23 | refactor(scope): separate controller from scope | Vojta 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-16 | feat(jqLite): added injector() helper method | Igor Minar | |
| 2012-01-14 | fix($location): do not $digest if browser's url change fired within ↵ | Vojta Jina | |
| $apply/$digest Chrome (probably other browsers as well) fires 'hashchange' event synchronously, so if you change raw location from within $apply/$digest, we don't want to $apply twice. (It would throw an exception) | |||
| 2012-01-13 | feat(module): add runtime block | Misko Hevery | |
| 2012-01-13 | style(*): small fixes | Igor Minar | |
| 2012-01-13 | fix($http): anonnymous response interceptors should be treated as factories | Igor Minar | |
