Interpreter for YAML files as an AngularJS Service