I have used
- var app = angular.module('', []); app.controller... 
- angular.module('', []).controller() 
- (function() { var app = angular.module('', []); })(); 
and all of them work. But I don't understand the third one. What is this (function() {})();
and what's the best among the 3. Thanks.
 
     
     
     
    