static file to local, api searching based on angular