Directive for AngularJS event load elements inside ngView