The line <div ng-mousedown="count = count + 1" ng-init="count=0">Click me!</div> means,'Executing an expression when a mouse click occurs.
similarly, the line <button ng-click="count = count + 1" ng-init="count=0">Click me!</button> means, 'Increase the count variable by one, each time the button is clicked'
Now what confuses me, is when should i use ng-click and when should i use ng-mousedown?? I mean what exact difference is there between the two?