Convert YAML, JSON or plain text file to angular.value or angular.constant.