remove "previous" button
use AngularJS