0
I have a piece of HTML that I am duplicating via HTML. Within the scope, however, 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 right, but what I change in modal, does not change my model.
I’m sorry to comment this but, 10 issues already '---' for what so?? I was a little sick yesterday, tired and may not have written very fluid but, 10 issues? sahushausshuasa
– Caio Gomes