Pregunta de entrevista de Siemens

some basic JavaScript and AngularJS questions.