Open JosephSKh opened 6 years ago
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.
sending the form in changePassword function
generator-angular-fullstack$ npm test
)