Angular JS – Exposing Controller Function outside the module via onClick function call


A Simple example :

JSfiddle: Exposing Controller Function outside the module via onClick function call

For re-using already defined onClick functions

Advertisements