Fire the $onInit lifecycle hook
Modal service for AngularJS - supports creating popups and modals via a service.
Brought to you by:
evanfcrane
Originally created by: jpulec
This PR makes the modal controller fire the $onInit lifecycle hook that is often associated with angular component controllers. By implementing this hook, controllers can more easily be reused between ModalService and other uses.
As one example, ui-router chose to implement the $onInit hook to ease controller reusability.
Closes [#173]
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: coveralls
Coverage increased (+0.4%) to 86.364% when pulling 29c8e0184dd039d8aabbac4bfd4e98b088d527c5 on jpulec:feature/fire-onint into 2c07464da8b661d6721827809f61e1870733bcd6 on dwmkerr:master.