cobuild-angular-stack
Version:
Base stack angular sass jade gulp
17 lines (13 loc) • 477 B
JavaScript
/**
* Created by garusis on 8/04/16.
*/
(function (module) {
InspirationController.$inject = ['$scope', 'toastr', '$state', '$translate'];
module.controller('InspirationController', InspirationController);
function InspirationController($scope, toastr, $state, $translate) {
$translate('alert-inspiration').then(function(translation){
toastr.warning(translation);
});
$state.go('registry');
}
})(angular.module('uniko.inspiration'));