$view
ui.router.state
Fired once the view begins loading, before the DOM is rendered.
| Param | Type | Details |
|---|---|---|
| event | Object | Event object. |
| viewConfig | Object | The view config properties (template, controller, etc). |
$scope.$on('$viewContentLoading',
function(event, viewConfig){
// Access to all the view config properties.
// and one special property 'targetView'
// viewConfig.targetView
});