FAQ:

How do I get my Angular expressions to work in Jekyll?

Liquid, which is included in Jekyll, uses the same expression tags as Angular. To set up your Angular BowTie project so that expressions get recognized by both frameworks, you can declare a configuration in your Angular project. Simply paste this code into your main.js or app.js file in your project, wherever your module lives.

app.config(function ($interpolateProvider) {
  $interpolateProvider.startSymbol('[[');
  $interpolateProvider.endSymbol(']]');
});

Now, you can surround your Angular expressions by square brackets([[ ]]) and Liquid will still read its usual curly braces. If you’d like to see an in-depth Angular example where this is demonstrated, read this user guide.

 

To get started with BowTie, register for a free trial.



Looking for something else? Check out our User Guides, Examples, and Technical Docs.