add configuration for angularjs indexing