Want to use multiple ng-app within one application
<p>I am working on an application, Where multiple ng-app are defined and used. Initially ng-app on different pages were not conflicting as all the pages were independent but now I have to include a header and header has its own ng-app defined.</p>

<p>I am using two different methods to avoid conflict of header app with other pages app.</p>

<p><strong>First method</strong>:
Bootstrapping an app manually on each page:</p>

<pre><code>angular.bootstrap($('#mycontact_container'),['contactsApp']);
</code></pre>

<p>OR</p>

<pre><code> angular.element(document).ready(function() {

    angular.bootstrap($('#topNavigation'),['headerApp']);

});
</code></pre>

<p><strong>Second method:</strong></p>

<pre><code>angular.module("rootApp", ["headerApp", "contactsApp"]);
</code></pre>

<p>Where rootApp is an App defined in body tag that will include entire application within it. headerApp is an app defined on header of each page and contactsApp is app of one custom html page.</p>

<p><strong>First method error:</strong></p>

<blockquote>
  <p>Error: [$injector:modulerr]
  <a href="http://errors.angularjs.org/1.4.8/" rel="nofollow noreferrer">http://errors.angularjs.org/1.4.8/</a>$injector/modulerr?p0=headerApp&amp;p1=%5B%24injector%3Amodulerr%5D%20http%3A%2F%2Ferrors.angularjs.org%2F1.4.8%2F%24injector%2Fmodulerr%3Fp0</p>
</blockquote>

<p><strong>Error on OR part of First method:</strong></p>

<blockquote>
  <p>Error: [ng:btstrpd]
  <a href="http://errors.angularjs.org/1.4.8/ng/btstrpd?p0=%26lt%3Bsection%20id%3D%22topNavigation%22%20class%3D%22top-navigation%20ng-scope%22%20ng-app%3D%22headerApp%22%26gt%3B" rel="nofollow noreferrer">http://errors.angularjs.org/1.4.8/ng/btstrpd?p0=%26lt%3Bsection%20id%3D%22topNavigation%22%20class%3D%22top-navigation%20ng-scope%22%20ng-app%3D%22headerApp%22%26gt%3B</a></p>
  
  <p>...f e?JSON.stringify(e):e;d+=c(e)}return Error(d)}}function
  za(a){if(null==a||Xa(a...</p>
</blockquote>

<p>i.e app is already bootstrapped.</p>

<p><strong>Second Method issue:</strong>
No errors but when I try to use interpolate provide in one of my app which is included in header i.e it will be included throughout application using below code:</p>

<pre><code>headerApp.config(['$interpolateProvider',

    function($interpolateProvider) {
        $interpolateProvider.startSymbol('{$');
        $interpolateProvider.endSymbol('$}');
    }
]);

    app.controller('MainController', ['$scope', '$http',function MainController($scope, $http) {

        $scope.first_name = "abc";
});
</code></pre>

<p>I get nothing printed using {$ first_name $} in my view. Ultimately my app is misbehaving. I have posted this issue in different post <a href="https://stackoverflow.com/questions/37650943/using-interpolate-using-multiple-ng-app-within-one-application-angularjs">SO question</a>
 Can Anyone guide me what exactly I need to follow to correct the behaviour of my application with existing architecture.
I guess only angular experts can guide me well here.</p>

<p>Please let me know if more detailing is required.</p>

<p><strong>Update</strong></p>

<p>I was facing following error when I was manually bootstrapping app:</p>

<blockquote>
  <p>Error: [ng:btstrpd]</p>
</blockquote>

<p>because I was using ng-app within html. <em>When manually bootstrapping app then ng-app is not required.</em></p>