AngularJS - inner directive - Order of postLink function calls change when I am replacing template property with templateUrl property
问题 I have a weird situation. If I have an outer directive that contains 2 directives inner-directive1 - has a template defined. inner-directive2 - has a templateUrl defined. The inner-directive1 postLink function is being called before the outer-directive postLink function - as expected. But, the inner-directive2 poslink function is being called after the outer-directive postLink - NOT as expected. The calls to the postLink function are : inner-directive1, outer-directive, inner-directive2 and I