PHP template engine based on AngularJS