rangle / angular-ssr

Angular 4+ server-side rendering solution compatible with @angular/material, jQuery, and other libraries that touch the DOM (as well as providing a rich feature set!)
BSD 2-Clause "Simplified" License
279 stars 38 forks source link

dynamic data rendiring #58

Closed adwaer closed 7 years ago

adwaer commented 7 years ago

Hello! Ur package good working! But.. :) How to make my dynamic data render? I have read about preboot, and prerendering (where to pass this code?..)

I have custom dynamic text directive and i want ssr to render it. There my directive module: localization.zip

App.module looks like root.module.ts in the demand-express

clbond commented 7 years ago

The issue is with assignment of innerText. I don't think that works with domino. Try using a regular Angular way of rendering the text eg {{localizedText | async}} in your template.