angular-summernote icon indicating copy to clipboard operation
angular-summernote copied to clipboard

Destroy & Restore the Ng-model

Open jozefpinter opened this issue 10 years ago • 1 comments

is there a way how can I destroy and again restore the ng-model?

Example: I have 2 summernote editors. They all got ng-model from the scope.
< summernote ng-model="text">< summernote>
< summernote ng-model="text">< summernote>
and angular.module('myApp', ['summernote']) .controller('EditorCtrl', function($scope) { $scope.text = "Hello World"; })

All summernote editor's makes a transclude. That's okay.

Is there a way how can I destroy the connections between them and if I want then again restore the connection? To transclude again.

jozefpinter avatar Oct 25 '15 10:10 jozefpinter

@jozefpinter I don't have any idea to destory and restore the link for ng-model. If you have any hint about it in other directives, I will check it.

outsideris avatar Nov 16 '15 18:11 outsideris