jadjoubran/laravel5-angular-material-starter

View on GitHub
angular/app/components/reset-password/reset-password.component.html

Summary

Maintainability
Test Coverage
<form ng-submit="vm.submit()">

    <div ng-if="!vm.isValidToken" layout="row" layout-align="center center">
        <md-progress-circular md-mode="indeterminate"></md-progress-circular>
    </div>

    <div ng-show="vm.isValidToken">
        <md-input-container class="ResetPassword-input">
            <label>Password</label>
            <input type="password" ng-model="vm.password">
        </md-input-container>

        <md-input-container class="ResetPassword-input">
            <label>Confirm Password</label>
            <input type="password" ng-model="vm.password_confirmation">
        </md-input-container>

        <md-button type="submit" class="md-primary md-raised">Submit</md-button>
    </div>

</form>