updating the file to resolve compatibility issues with ui-router