vendredi 18 août 2017

Set default state by routing with ember

I have some controller

NewController.extend({
    ors: [],
    ands: [],
    .......

in my controller ors, ands and another variable change.

How do when does it change routing variables set default state?

Is there such hook, so set default state ?

In angular2 i cann't know when variables i must setting by default. In angular2 is zonejs and does it without me.




Aucun commentaire:

Enregistrer un commentaire