Does ng-include creates a new child scope ?
<html> <body ng-app="mytodoApp"> <div class="container" ng-include="'views/main.html'" ng-controller="MainCtrl"></div> </html>
Yes, from https://docs.angularjs.org/api/ng/directive/ngInclude:
This directive creates new scope.
1.4m articles
1.4m replys
5 comments
57.0k users