9 lines
205 B
JavaScript
9 lines
205 B
JavaScript
|
angular.module('mean.system').factory("Global", [function() {
|
||
|
var _this = this;
|
||
|
_this._data = {
|
||
|
user: window.user,
|
||
|
authenticated: !! window.user
|
||
|
};
|
||
|
|
||
|
return _this._data;
|
||
|
}]);
|