Switched to the recommended way to use Browserify with Gulp.
Removed dependency on angular-resource because it had problems and didn't fit in the workflow properly. Made a similar custom system that is working much better. Improved validation/error handling on login/create account page. User is now logged in automatically when account is created.