Domanda

The dart documentation currently lacks a "few" details and google didn't help me either.

Are there any predefined variables or something like that in angulardart templates? To clarify what I mean with that:

Something like {{baseURL}} or something like that. In short: stuff that angular provides to each template.

In Smarty (php templating) there is a debug directive that shows everything that is in the current scope, which is great for developing and debugging more complex templates. I assume that dart has nothing like that yet?

È stato utile?

Soluzione

I can't find any suggestion that there are any. If there were, the list would need to be published, as it could easily clash with your own names, and would cause confusion.

If you need to access anything like this, I think it'd make more sense to add them to your object directly, it would make it much easier to understand (and debug) later!

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top