This fiddle demonstrates some code where I lazily add a partial with it's own controller.
Everything works fine, but for some reason my ng-click event just won't fire. Any idea what I'm doing wrong?
You have to add the "()" in the ng-click
'<button ng-click="onClick()">Click</button>' +
See : http://jsfiddle.net/8Bf8m/22/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With