Example of using angularjs to bind front end to json