How to bind ng-click to a HTML block inserted inside of a directive embedded HTML block
问题 Plnkr: http://plnkr.co/edit/6xe46opL2kpgQrf7VaEu?p=preview I have a ng-click="switchCurreny() function that I'm trying to get working on an block of HTML that is placed inside of another block of HTML that is embedded on the page from my directive . My app-main controller that places another block of HTML into the directive placed HTML, also contains the ng-click function I'm trying to get working: var app = angular.module('app-main', ['ngAnimate', 'wallet-directives']) .controller('MainCtrl'