Main thing here is to avoid loading of all JavaScript in index.html
Eg) I have partial view with date picker. Initialization will at the partial view side.
<script>
$(function() {
$('.date-pick').datePicker();
});
</script>
When the partial view loaded via router, the script mentioned above will not be executed. How to execute these kind of internal javascript inside angularjs partial view?