odule(&#39;app&#39;);

    var controllerId = &#39;sts.views.task.list&#39;;
    app.controller(controllerId, [
        &#39;$scope&#39;, &#39;abp.services.tasksystem.task&#39;,
        function($scope, taskService) {
            var vm = this;

            vm.localize = abp.localization.getSource(&#39;SimpleTaskSystem&#39;);

            vm.tasks = [];

            $scope.selectedTaskState = 0;

            $scope.$watch(&#39;selectedTaskState&#39;, function(value) {
                vm.refreshTasks();
    