According to angular documentation disabling debug info in production gives a significant performance boost https://docs.angularjs.org/guide/production Unfortunately this causes scope() to return undefined and the angular-prompt not to work anymore. Line 68 of angular-prompt.js