Add contact from entity to angularjs