angular.bootstrap example
by redaemn
HTML
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<div id="first" >
<input type="text" ng-model="first" />
here: {{first}}
</div>
<div id="second">
<input type="text" ng-model="first" />
here: {{first}}
</div>
CSS
#first {
margin-bottom: 30px;
}
JavaScript
angular.element(document).ready(function() {
angular.bootstrap($('#first'));
angular.bootstrap($('#second'));
});