Added an angular filter to handle the boolean json issue with php