Update settings.html
sending the form in changePassword function
- [x] I have read the Contributing Documents
- [x] My commit(s) follow the AngularJS commit message guidelines
- [x] The generator's tests pass (
generator-angular-fullstack$ npm test)
How about doing the same as the login and sign up pages? ex: https://github.com/angular-fullstack/generator-angular-fullstack/blob/master/templates/app/client/app/account(auth)/login/login.html#L9
@Awk34 I think you've already done that? you are sending the form in the function, please point me if I'm wrong
Take a look at this plunker: https://plnkr.co/edit/gmiLd1h7reY7XHLmbHgn?p=preview
Using this in the template sends the component instance, which is not what we want. Passing the ngForm instance is what we want, which includes data like valid, etc.