dMessage&#39;));
                });
            };

            vm.getTaskCountText = function() {
                return abp.utils.formatString(vm.localize(&#39;Xtasks&#39;), vm.tasks.length);
            };
        }
    ]);
})();</pre>

<p>I defined name of the controller as &#39;<strong>sts.views.task.list</strong>&#39;. This my convention (for scalable code-base) but you can simply name it as &#39;ListController&#39;. AngularJS also uses <strong>dependency injection</strong>. We&#39;re injecting &#39;