use AngularJs for pbox