Light AngularJS implementation