We have generated our app using Generator-Gulp-Angular. We want to implement Braintree payments Dropin form using Braintree-web v2.5.1 and Angularjs 1.5.
We are trying to implement it based on example in https://github.com/braintreedev/sample-braintree-dropin-angularjs-node, which is a basic Dropin implementation.
We have defined 'braintree' as constant in Global Constants.
When we do -- Gulp serve, below is the error printed in terminal.
[23:38:54] Using gulpfile ~/Downloads/MyProject/gulpfile.js
[23:38:54] Starting 'scripts'...
[23:38:56] Starting 'styles'...
[23:39:01] gulp-inject 10 files into index.scss.
[23:39:02] Finished 'styles' after 6.22 s
[23:39:04]
/Users/MyUser/Downloads/MyProject/src/app/components/payments/dropin.controller.js
**57:9 error "braintree" is not defined no-undef**
✖ 1 problems (1 errors, 0 warnings)
We are getting the client token, but the Braintree.setup is not loading the Dropin container.
Any help is appreciated very much.