Creates connection between angular and json