Using angular.fromJson