You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dialogerror.js 411B

12345678910111213141516
  1. /**
  2. * Created by robin on 11/3/15.
  3. */
  4. 'use strict';
  5. angular.module('luticateUtils').
  6. controller('luticateDialogError', ['$scope', 'data', '$state', function ($scope, data, $state) {
  7. $scope.message = data.message;
  8. $scope.showLogin = data.data.Status == 401;
  9. $scope.reconnect = function()
  10. {
  11. $scope.$dismiss();
  12. $state.go('login');
  13. };
  14. }]);