Update 2013-12-06-angular-onramp.md

Including a method in the JS file to keep the view clean and simple