Angular Check Array Is Empty Or Not Php To Pkr