I'm looking to use AngularJS on an existing Rails-based website. Because it's important to us that our users can access the site's content and navigate the site when things go wrong, we would like to render the html server-side for each initial request, and then have AngularJS pick things up from there, loading non-critical functionality and handling the usual things an Angular app handles (e.g., navigation within the SPA, data binding, etc.).
Every solution we've seen so far to this sort of problem (e.g., prerender.io) involves fully rendering the Angular template on the server, and then stripping out Angular so it doesn't run on the client. We want to return useable html, but also have the client run the AngularJS app once it loads. Is this possible? Does anyone currently do what we're trying to do? How can we go about doing this? -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
