Changed ng-click to ng-mousedown, as sometimes blur event is fired before click. Should fix #51 and #39

Changed ng-click to ng-mousedown, as sometimes blur event is fired before click. Should fix #51 and #39