Hello and thank you for your answer :)

In my plunker, I'm not re-specifying the controller (for route 1), I'm 
specifying it (for the first time) in the template.
For the other routes, I'm also only specifying it only once, but this time 
in the $stateProvider.

So is my affirmation still correct now that we can agree that there is no 
conflict?

Regards,
LLoyd

On Sunday, March 2, 2014 5:21:24 AM UTC+1, Zhenghao Huang wrote:
>
> Yes, you are correct.  When you add the controller property to your 
> route/state definition, you can't re-specify the use of your controller via 
> something like <div ng-controller="MyController"> in your 
> partial/template.  The two will conflict with each other and hence cause 
> your resolve property to not be injected properly.   
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to