(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; }; } })();