use element.bind instead of element.click to be compatible with jqLite in AngularJS
use element.bind instead of element.click to be compatible with jqLite in AngularJS

stormpath/stormpath-sdk-angularjs,stormpath/stormpath-sdk-angularjs