Light12306/ChatRoomServer.Www/Scripts/controller.js
2015-07-10 21:32:52 +08:00

28 lines
529 B
JavaScript

(function () {
'use strict';
angular
.module('chat12306', [])
.controller('accountLogin', accountLoginController);
accountLoginController.$inject = ['$scope'];
function accountLoginController($scope) {
$scope.operating = false;
$scope.user = {
username: "test",
password: ""
};
$scope.login = function () {
$.notify("正在登录中,请稍等...", {
delay: 0,
progress: -1,
showProgressbar: true,
allow_dismiss: false
});
$scope.operating = true;
};
}
})();