This is some sample code created in AngularJS