Refactor the reset event slightly
Refactor the reset scope event for quicker app startup and stop using the reserved prefix that angular uses. - Rename $reset to reset - At the App controller, invoke the initialization code immediately rather than broadcasting an event. Every component should start by initializing itself rather than waiting for an event to be broadcast.
Showing
Please register or sign in to comment