Exploration into AngularJS