Refactored the rootScope event dispatching

- Refactored the rootScope events with emit and broadcast on scope
- Added "trackby" property to param list in order to avoid re rendering
when the componentParams property is reset