How multiple ng-app works in angular
I tried giving two ng-app in an application , when i gave two ng-app like <body> <div ng-app="A"> <div ng-controller="AC"> </div> </div> <div ng-app="B"> <div ng-controller="BC"> </div> </div> </body> Then second ng-app does not work. But when i change the scope of first ng-app="A" from div to body then both works fine like <body ng-app="A"> <div> <div ng-controller="AC"> </div> </div> <div ng-app="B"> <div ng-controller="BC"> </div> </div> </body> Can anyone let me know why this behavior as i am quite new to angular. I wanted to know why it worked as i didn't called angular.bootstrap on the