add predicate autocomplete to angularjs demo