ボタンでdom要素のinterhtmlを変更しています。そして、ボタンがクリックされたときに、別のコントローラー機能を起動したいと思います。そんな感じ。...しかし動作していません:)。
$scope.addBtn = function() {
$('domtarget').html('<button ng-click="removeButton();"></button>');
}
$scope.removeBtn = function() {
$('domtarget').html('');
}
修正を提案してください:)