Updated Angular.JS example in the js file