added button type=button to prevent ng-click on Enter key