Please ignore, just figured it out myself, I declared in the route, and 
also a ng-controller in the page.
Learning, but absolutely finding angular fantastic to work with as I get 
better at it.

Cheers
Jason

On Monday, 1 August 2016 09:41:27 UTC+10, Jason Ando wrote:
>
> Hi all,
>
> I am guessing this is a simple question and the answer will be just as 
> simple I am sure.
>
> I am using the native $route (ngRoute), and have two views that switch 
> between each other and two controllers, what I find is that the controller 
> is created twice ?  Anything obvious that I am probably doing wrong?
>
> Thanks in advance for your help
>
> Cheers
> Jason
>

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to