angular and json settings