I am using jquery and angularJS(bad practice but i must).When navigating with jquery mobile,adding page in dom dosen't trigger angular because it is loaded only on first page.
1.html:
<html ng-app="aki" ng-controller="akicontrollers">
...
<section data-role="page">
<ul id="gridaccom" data-role="listview" >
<li ng-repeat="object in barList" id="lista" >
{{object.Name}}
</li>
</ul>
<a href="2.html">LINK</a>
</section>
...
2.html
<section data-role="page">
<ul id="gridaccom1" data-role="listview" >
<li ng-repeat="object in barList" id="lista" >
{{object.Name}}
</li>
</ul>
</section>
Ng repeat works in 1.html but when inserted 2.html into dom i just get "{{object.Name}}" My question is :Is it possible to "relaunch" angular or let it rescan html document and compile page inserted in DOM?
Thanks in advance.