I have a question for the angularjs folks here.
So, I am using angular for quite a while now. However, every time when I am writing a new Controller or something th
You don't have to use the syntax with an array anymore. You can write your code like this:
module.directive('myDirective', function () { return { controller: function ($scope, $element) { // ... } } });
Read more here