Fix to allow a form inside a dropdown toggle

Moving a login form to angular-ui bootstrap and it was not working. Looking at https://github.com/twitter/bootstrap/blob/master/js/bootstrap-dropdown.js they stop click propagation from a form in the dropdown.

Not sure if it is the best way to find the form (new to angular) but it is working for me.