Does the browserify-uglify-sourcemap.md example work with AngularJS code?

With my current AngularJS app I fail to use this recipe https://github.com/gulpjs/gulp/blob/master/docs/recipes/browserify-uglify-sourcemap.md

Not sure if the problem is on my side but I wonder if somebody else managed it to implement this recipe for an AngularJS app?

AngularJS is well-known for being pretty magical. Is anyone willing to share a browserify-based gulp task which is able to pack the whole app code, to add sourcemaps and to minify it?

Thanks guys!