I am trying to utilize ng-app with in another ng-app. Separately both ng-app's are perform their function but as they come inside each other it creates an error. for example
<body ng-app>
<div ng-app="MyApp" ng-controller="MyCtrl">
-----
</div>
<div ng-controller="ctrl">
........
</div>
</body>
On execution this give Error
Argument 'MyCtrl' is not a function, got undefined
If any one have any solution for this issue, or have some other technique to solve this problem, please help me.