Isolated scope properties are not available in 'pre' link function when using 'templateUrl'

Fix for #2064.