Enabling CORS on elasticsearch 2 to be accessible to an AngularJS app
This was my first time working with .yml files and I didn't realize that all the lines in a YAML file are required to be indented the same.
Once I matched up indentations everything was fine.