crud_javascript_client_app.javascript.app.main.js.sign-in.controller.js.ftl Maven / Gradle / Ivy
The newest version!
angular.module('app.main')
.controller('SignInCntl', function ($scope, $location, appContext, signIn) {
'use strict';
signIn($scope, function () {
appContext.getCurrentUser().then(function (currentUser) {
$location.url(currentUser.getHomeDialogPath());
});
});
});