خرید بک لینک

Vote count: 0

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.

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 31 خرداد 1395 ساعت: 3:18

صفحه بندی