add options for backbone and angular.