added server support for file includes and angular.js