Answer the question
In order to leave comments, you need to log in
How to dynamically create handlers in angularJS?
Here is a function that adds an element:
$scope.processCreateInfo = function(event, process){
$('.maintext').append('<a class="greenbtn createbtn waves-effect waves-light btn" ng-click="processCreate()">Запустить процесс</a>');
}
$scope.processCreate = function(){
alert(1)
}
Answer the question
In order to leave comments, you need to log in
$compile
odetocode.com/blogs/scott/archive/2014/05/07/using...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question