handle conflict registration.js angular