<ion-view view-title="修改密码"> 
    <ion-content>
        <div class="list list-inset list-bg-transparent list-border-no form-width">
 
            
            <div class="list loginform">
                <label class="item item-input">
                    <i class="icon ion-ios-locked-outline placeholder-icon"></i>
                    <input type="password" ng-model="data.oldpassword" placeholder="输入旧密码">
                </label>
                <label class="item item-input">
                    <i class="icon ion-ios-locked-outline placeholder-icon"></i>
                    <input type="password" ng-model="data.password" placeholder="输入新密码">
                </label>
                <label class="item item-input">
                    <i class="icon ion-ios-locked-outline placeholder-icon"></i>
                    <input type="password" ng-model="data.password1" placeholder="再次输入新密码">
                </label>
            </div>
           
            <button class="button button-block    button-assertive  button-radius-full" ng-click="submit(data)" ng-disabled="data.isloading" type="submit">更新密码</button>
        </div>
    </ion-content>
</ion-view> 