Open edyonil opened 8 years ago
I did not understand. This is a problem in travis?
This already exists you can use the format: controller: AtivacaoController as ativacaoCtrl
Where is this in the documentation? @JoshEllinger .
Trial and error is your friend :) don't think it's documented.
With the rule that put the dynamic routes, will allow use controllerAs the controllers. The angular uses this as good practice to isolate the scope. Now we can use the following in views:
name: ativacao url: /ativacao/:chave controller: AtivacaoController
controllerAs: ativacaoCtrl