Facile approach to diverse range of 1,3-diaza-heterocycles: angular/linear selectivity paradigm and a remarkable intramolecular methyl migration