Dynamic-routing with gulp and YAML?

I was wondering does anyone knows how to enable dynamic routes for ionic in a similar that foundation for apps uses?

I love what ionic does and have been trying for a while now but since Foundation for Apps came out, I’ve become very used to using front-matter in my html views to define my routes and help prototype everything.

Example: (http://foundation.zurb.com/apps/docs/#!/angular)

Gulp plugin (https://github.com/zurb/foundation-apps/blob/master/bin/gulp-dynamic-routing.js)

Example how they use it the framework