add templates support and basic angular structure