I have a piece of HTML that I'm duplicating via HTML. Within scope, however, the ng-model is not working. HTML:
<html ng-app="App" ng-controller="Theme" >
<head>
</head>
<body>
<div id="parte1">
<input type"text" ng-model="teste" value="{{ value }}" />
</div>
<div id="modal"><div id="modal_content"></div></div>
</body>
</html>
And in my JS I'm doing the following:
$('modal').html($('parte1').html());
The value goes to the input. The input appears correct, but what I change in modal does not change my model.