2016-01-01 14:58:42 -05:00
|
|
|
(function () {
|
|
|
|
|
'use strict';
|
2014-04-21 00:01:01 +03:00
|
|
|
|
2016-01-01 14:58:42 -05:00
|
|
|
angular
|
|
|
|
|
.module('articles')
|
|
|
|
|
.controller('ArticlesController', ArticlesController);
|
2014-04-21 00:01:01 +03:00
|
|
|
|
2016-07-25 17:34:06 -07:00
|
|
|
ArticlesController.$inject = ['$scope', 'articleResolve', 'Authentication'];
|
2015-08-05 00:40:54 -04:00
|
|
|
|
2016-07-25 17:34:06 -07:00
|
|
|
function ArticlesController($scope, article, Authentication) {
|
2016-01-01 14:58:42 -05:00
|
|
|
var vm = this;
|
2015-03-01 19:11:22 +00:00
|
|
|
|
2016-01-01 14:58:42 -05:00
|
|
|
vm.article = article;
|
|
|
|
|
vm.authentication = Authentication;
|
2014-04-21 00:01:01 +03:00
|
|
|
|
2015-07-25 16:53:11 -04:00
|
|
|
}
|
2015-12-10 20:31:51 +01:00
|
|
|
}());
|