An introduction to Angular.js