First version using AngularJS