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>
See Question&Answers more detail:osDoes 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>
See Question&Answers more detail:os