Fixed the ng-click propogation issue