AngularJS Foundation and V8 in PHP