I have a controller defined inside a module:
angular.module('myModule').controller('MyCtrl', function ($scope) {
$scope.property = 'myproperty'; });
A partial is included in the main html like this:
<div ng-include src="'partial/mypartial.html'"></div>
Is it possible to reference MyCtrl inside mypartial.html? e.g. somehow like this:
<div ng-controller="myModule.MyCtrl">
Thanks!