SonicWall interview question

basic javaScript and AngulaJS