I was following an angularjs tutorial, and I encountered something like this:
(function(){
'use strict'
angular.module('users',['ngMaterial]);
})();
I was wondering what is the difference between that and this:
angular.module('users',['ngMaterial']);
As far as my understanding goes, both define a new angularjs module, but I am guessing there is more to it?