[refactor] IoC: replacing firing event on script change with deep $watch