Trotyl Yu

Results 40 comments of Trotyl Yu

@lppedd This issue has already been fixed by https://github.com/angular/angular/pull/19773 since 4.4.6, an error body will always fallback to `string` when unable to parse as JSON. Please provide repro if you...

@lppedd I see your case now, but the problem is, what Angular did is just pass `responseType: 'blob'` to [`XMLHttpRequest.responseType`](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseType), and the parsing process is performed by browser. The `Blob`...

@lppedd I'd rather Angular drop the entire `responseType` concept of old XHR and switch to transform-style operation like fetch API, currently the static typing is already bloated with all this...

Made a pure lib implementation [here](https://github.com/trotyl/angular-contrib/blob/master/packages/common/host/host.ts), demo [here](https://stackblitz.com/edit/angular-iutvor?file=app%2Fhello.component.ts). But I don't see any value of the content projection support, it would only made children ordering less obvious.

@vladuionut No, you can't. There's not something can be done by a proxy renderer. And that's not logical at all, the binding value are coming from component (instance) context, how...

@pkozlowski-opensource Would it possible to have a property-way of non-binding non-event host attribute declaration? Even the [StyleGuide is recommending always using property decorator for that](https://angular.io/guide/styleguide#hostlistenerhostbinding-decorators-versus-host-metadata). --- EDIT: doesn't seem to...

Relates to #20027 (which is possible while this one is not)

That's https://github.com/angular/angular/issues/20027 then.

@tiangolo `encodeURIComponent` does not follow W3C/WHATWG standard as well, W3C/WHATWG Standard is: ` ` -> `+` & `+` -> `%2B` encodeURIComponent is: ` ` -> `%20` & `+` -> `%2B`...

> Other types of providers can create their values lazily; that is, when they're needed for injection. @dariobraun It's [already documented](https://angular.io/guide/dependency-injection-in-action#value-providers-usevalue), but there could be some docs change to make...