Form and filters working with AngularJS