New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the Community Exchange, where community members ask and answer questions about DNN. To get started, just start typing your question below and either select one of the suggested questions or ask a new question of your own.

Dnn Angular SPA module - passing variables and RESX to Angular

Return to previous page

  • 10/22/2018
  • 2437 Views

Question:

Jacques 6 years ago

I'm used Chris Hammond's VS 2017 templates to start me off with a SPA module and then changed it to handle an Angular app.

It's easy enough to pass variables to View.html, Edit.html and Settings.html via tokens which is great, but with an Angular app the HTML views are precompiled so this won't work.

What I can do is to populate a local variable, or set of variables with all the values I need, but then there's question of how to pass these variables into the Angular app.

So far I've used local storage to do this, but that seems dirty.

Anyone have a better idea?

Dnn Angular SPA module - passing variables and RESX to Angular

Jacques
Jacques 6 years ago
Add an Answer

Answers

Sign In to Participate
Or register to become a member