.when('/partial1.html',{templateUrl:'partial1.html'})
<div ng-controller="oneCtrl">This is partial 1</div>
================
.when('/partial1.html',{templateUrl:'partial1.html',controller:'oneCtrl'})
<div>This is partial 1</div>
>________________________________
> From: "dlo...@googlemail.com" <dlo...@googlemail.com>
>To: ang...@googlegroups.com
>Sent: Friday, January 4, 2013 8:52 PM
>Subject: [AngularJS] Re: Partial controller get called twice due to ng-view
--
>You received this message because you are subscribed to the Google Groups "AngularJS" group.
>To post to this group, send email to ang...@googlegroups.com.
>To unsubscribe from this group, send email to angular+u...@googlegroups.com.
>Visit this group at http://groups.google.com/group/angular?hl=en-US.
>
>
>
>
>