Closed adnasa closed 10 years ago
This generator doesn't add the controller property to routes it generates. If you've added that property then you should remove the ng-controller attribute but I'm not sure why you would do that.
hmmm.. it must have slipped my mind that I added that property :) closing...
Controller-methods executes twice when using the Angular ui-router
Consider the following template (partial):
And the following configuration:
If the usage is angular ui-router, we should omit the
ng-controller
part from the partial that is generated. I don't know if the problem can be replicated when using the regaular router system.reference