awulder / angular-prismicio

AngularJS service for prismic.io
MIT License
32 stars 15 forks source link

Support new API syntax #33

Closed shelldandy closed 6 years ago

shelldandy commented 8 years ago

Hey there I started using this to try some Prismic in Angular however I see here its used a format of quering that is on the old docs

Prismic.query('[[:d = at(document.type, "venue")]]')

Whereas now the syntax is more like: prismic.Predicates.at('document.type', 'venue')

I know this hasn't been updated in a while but still I'd be nice.

Thanks for this awesome service though