Angular ng-submit not firing the desired controller method [duplicate]
问题 This question already has answers here : AngularJS Login form with ng-click not working (2 answers) Closed 4 years ago . In Angular 1.4.7, I'm trying to implement a basic login form in this plunk http://plnkr.co/edit/xQEN1ZNN5ZEw1CSwNw97?p=preview (Please click on the red Log into Dashboard button on the Home route). However for some reason I cannot get the login() method to fire in my loginCtrl controller code. Instead what it's doing is an old-school URL redirect with the user/password