A simple Javascript question, For instance I have an Angular app.js like this;
'use strict';
var eventsApp = angular.module('eventsApp',[]);
I read that using "use strict" in beginning of a Javascript file makes all vars in that file to be treated in strict mode, which means will it throw an error when you use a global variable(?), but then how can we access that "eventApp" object from all our controllers and services if that's not in global scope?