AngularJS variant